Skip to content
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 689 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.

1.1M 689 147
assertpy
assertpy

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

1M 531 80
pact-foundation
pact-python-cli

🔗 Pact in a single binary - Mock/Stub Server, Provider Verifier, Broker Client & Plugin CLI

61K 3 2
maticardenas
django-contract-tester

Test utility for validating Django APIs against their OpenAPI specification

22K 20 4
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

5K 7 2
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.

5K 18 1
EdgarSocrates98
apiforge-af

Plataforma de engenharia agentic e orientada a evidências para projetar, evoluir, validar e operar APIs, cobrindo contratos, arquitetura, segurança, performance, observabilidade, dados, mensageria, governança e automação inteligente.

4K 0 0
EdgarSocrates98
forge-doctor-api

Plataforma determinística e orientada a evidências para diagnóstico e inteligência de APIs, cobrindo arquitetura, contratos, segurança, confiabilidade, runtime, compatibilidade, impacto e análise multi-repositório.

4K 0 0
elenakulgavaya
surety

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

3K 1 0
jsxd3v
api-qovrix

Self-hosted API monitoring that catches breaking changes, not just downtime. Drift detection, OpenAPI validation and multi-step flows, as YAML in Git for CI and production. Works with any stack.

3K 0 0
tiltmeter-dev
tiltmeter

Detects drift in the third-party APIs your AI agents depend on, explains it, warns your agents over MCP, and opens the pull request that adapts your code.

3K 1 0
Bandwidth
pypony

A python utility for contract testing APIs

2K 4 0
K11-Software-Solutions
k11-api-contract-qa-mcp

MCP server & Claude Code plugin for API contract testing: which services an OpenAPI change breaks and why, live conformance checks and contract test generation

2K 0 0
aspix2k
a2a-proof

Black-box contract tests for A2A agents

1K 0 0
RayCarterLab
excelalchemy

Schema-driven Python library for typed Excel import/export workflows with Pydantic and locale-aware workbooks.

1K 10 1
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.

1K 1 0
sx4im
resultseal

Python contracts for AI-agent tool results. Block empty, partial, stale and unverified JSON, HTTP, MCP and stdio observations.

1K 5 10
elenakulgavaya
fild

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

863 1 0
anzar-ahsan-commits
agentpanel

OpenAPI spec in, chaos test harness out: WireMock stubs, contract tests and failure scenarios from a team of local LLM agents.

803 2 0
anzar-ahsan-commits
api-shakedown

OpenAPI spec in, chaos test harness out: WireMock stubs, contract tests and failure scenarios from a team of local LLM agents.

720 2 0
jlamweil
zft

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

700 1 0
gulmezeren2-byte
mcp-contract

Contract testing for MCP servers: snapshot your tool surface, then fail CI when a change would break the agents that depend on it. Classifies breaking vs additive vs routing (description) changes.

608 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology