# pact-python

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.

Canonical page: https://www.reposhelf.co.uk/projects/github/pact-foundation/pact-python.html

- Project ID: pact-foundation/pact-python
- Source: GitHub
- Original project: https://github.com/pact-foundation/pact-python
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-04T14:47:01.560Z
- Demo page loaded: 2026-11-06T00:47:15.077Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> alt="Pact Python Mascot" height="250" width="225" align="left" hspace="20"&gt; 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:

- 🎈 Effortless full-stack integration testing - from the front-end to the back-end
- 🔌 Supports HTTP/REST and event-driven systems
- 🛠️ Configurable mock server
- 😌 Powerful matching rules prevents brittle tests
- 🔡 Supports 12+ languages

## Author-documented requirements and audience

> alt="Pact Python Mascot" height="250" width="225" align="left" hspace="20"&gt; 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.

Source: https://github.com/pact-foundation/pact-python/blob/main/README.md

Extraction checked: 2026-10-20T15:42:12.125Z

Last recorded source update: 2026-11-03T01:50:14.000Z

Saved release: pact-python/4.1.0 — 2026-10-16T06:23:00.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=pact-foundation%2Fpact-python). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
