Skip to content
r.

pact-python

pact-foundation/pact-python · Public GitHub repository

Python version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

pact-python live demo screenshot
Captured from the live demo · 2026-11-06

About this project

Author-written excerpt from the project README.

alt="Pact Python Mascot" height="250" width="225" align="left" hspace="20"> Fast, easy and reliable testing for your APIs and microservices.

Pact is the de-facto API contract testing tool. Replace expensive and brittle end-to-end integration tests with fast, reliable and easy to debug unit tests.

Why use Pact? Contract testing with Pact lets you:

Requirements and intended audience

alt="Pact Python Mascot" height="250" width="225" align="left" hspace="20"> Fast, easy and reliable testing for your APIs and microservices.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-20. Source: https://github.com/pact-foundation/pact-python/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-03. Saved release: pact-python/4.1.0 · 2026-10-16. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-06. This does not test every feature.

Browse related categories