Suggest a tool

Pact Python

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Pact Python is

Pact Python is the Python implementation of Pact, a contract testing tool for HTTP/REST and event-driven systems. The library covers consumer testing against a configurable mock server. It also covers provider testing, which verifies an API against the resulting contracts. It integrates with Pact Broker and PactFlow in CI/CD workflows. The package installs from PyPI with pip. It aims to support every Python version that the Python Software Foundation still supports. Anonymous telemetry can be disabled with the PACT_DO_NOT_TRACK environment variable.

Written from the project's README, read .

Category
Contract testing
License
MIT
Language
Python
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars6841
Forks1471
Open issues and PRs171
Contributors721
Commits in the last 90 days701
Last commit2026-09-211
Last releasepact-python/3.4.1, 2026-09-171
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed contract testing tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Pact Python's, with its source.

How to install

pip install pact-python
From README, read .

Questions

Is Pact Python open source?

Yes. Pact Python is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Pact Python maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-21, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Pact Python have?

684 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Pact Python written in?

The repository's primary language, as reported by the GitHub API, is Python.

How do I install Pact Python?

The README gives this command: pip install pact-python

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read