PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Contract Testing Python Packages

Python packages with the GitHub topic contract-testing. Sorted by monthly downloads, with stars and forks.
pact-foundation
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.

1.2M 684 147
pact-foundation
pact-python-ffi

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.

1M 684 147
pact-foundation
pact-python-cli

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.

26K 684 147
maticardenas
django-contract-tester

Test utility for validating Django APIs against their OpenAPI specification

18K 19 4
nold-ai
specfact-cli

AI-bloat defense CLI for Python teams: deterministic code review, cleanup forecasts, and spec/contract evidence for AI-assisted and brownfield delivery.

10K 17 1
elenakulgavaya
surety

A Python framework for contract testing in CI/CD pipelines. Validates communication boundaries between services without requiring a shared environment.

7K 1 0
Solganis
assertpy2

Fluent, fully typed assertion library for Python: your type checker sees only the assertions that fit the value, and every failure carries a structured diff. Soft assertions, polling, inline snapshots, OpenAPI contracts.

6K 5 2
jlamweil
zft

ZFT (Zero-Friction Traceability) — contract-grounded verification and trace matrix gates for multi-agent work

3K 0 0
prauga
prauga-flexdoc

Backend-native API workbench that detects when your running implementation disagrees with OpenAPI.

3K 11 2
bowlinedev
bowline-agent

Write once, typed everywhere. API clients generated from plain Go functions.

3K 1 0
bowlinedev
bowline-client

Write once, typed everywhere. API clients generated from plain Go functions.

3K 1 0
b6bs62fhys-jpg
specsentinel

CLI that checks a live API against its OpenAPI spec. Exit code 0 if it matches, 1 on drift, 2 if the check could not run.

2K 0 0
RayCarterLab
excelalchemy

Schema-driven Python library for typed Excel import/export workflows with Pydantic, locale-aware workbooks, pluggable storage, and contract-tested architecture.

2K 10 1
aspix2k
a2a-proof

Black-box contract tests for A2A agents

1K 0 0
yzm1
boundver

A Git-aware lockfile and CI check for contracts shared across components

1K 5 0
damienSavoldelli
ai-prompt-runner

Deterministic stateless multi-provider AI prompt runner for CLI, scripts, and CI workflows with contract-driven structured outputs.

887 1 0
ShuhanSun
jev-oas-sentinel

Catch breaking API behavior hidden in OpenAPI prose with deterministic checks and TypeSafe JEV System One semantic review.

887 5 1
Devaretanmay
bergendy

Runtime schemas, drafted from your live traffic.

801 1 0
Mate4b
narrative-contracts

MateProbe by Mate4B — mutation testing for your validators. Audit missed faults, wrong-reason rejections and valid controls with pytest.

706 0 0
Mhemd139
covenant-mcp

Contract linter and drift firewall for MCP servers: snapshot tool schemas, classify drift, quarantine drifted tools, enforce fleet-wide with a Kubernetes operator.

692 1 0
Mate4b
pytest-narrative-contracts

MateProbe by Mate4B — mutation testing for your validators. Audit missed faults, wrong-reason rejections and valid controls with pytest.

683 0 0
sx4im
resultseal

Deterministic observation-integrity contracts for AI-agent tool results. HTTP 200 is not an observation.

607 5 8
elenakulgavaya
fild

[DEPRECATED] Migrated to surety — https://github.com/elenakulgavaya/surety

523 1 0
auditscan-sh
breakproof

No-spec API break gate: fail PRs only on deleted routes, with caller proof. pipx install, 10s demo, GitHub Action included.

496 2 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology