{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Pact Python implements consumer-driven contract testing for APIs and microservices, letting you write fast unit tests that verify both client and server expectations against a shared contract instead of running brittle end-to-end integration tests.","skillfed_tags":["contract-testing","microservices","api-testing"],"use_cases":["Test microservice interactions locally without spinning up dependent services or complex test environments","Verify that API clients and servers remain compatible before deploying, catching breaking changes early","Document API contracts automatically and share them across teams via Pact Broker or PactFlow","Replace brittle end-to-end integration tests with fast, deterministic unit tests that run in CI/CD","Test event-driven systems by defining and verifying message contracts between producers and consumers"],"what_it_does":"Pact Python is a consumer-driven contract testing framework that replaces expensive end-to-end integration tests with fast, reliable unit tests. Instead of spinning up full test environments and coordinating multiple services, you define contracts that specify what a client expects from a server and what a server will provide\u2014then verify both sides independently against that contract. This catches breaking changes early and lets you test locally without complex fixtures or test environments.\n\nThe package wraps the Pact framework (which supports 12+ languages) and provides a configurable mock server, powerful matching rules to prevent brittle assertions, and integration with Pact Broker or PactFlow for CI/CD workflows. It supports HTTP/REST and event-driven systems, runs on Python 3.10 and later across macOS, Windows, and Linux, and collects optional anonymous telemetry (disableable via PACT_DO_NOT_TRACK=1).","worth_installing":"Yes. Pact Python is actively maintained, production-stable (Development Status 5), has no known vulnerabilities, low install friction, and solves a real problem\u2014replacing expensive integration tests with reliable contract tests. The MIT license is permissive. Install it if you're testing APIs or microservices and want to shift testing left and reduce test environment complexity."},"id":"pact-python","links":{"html":"https://skillfed.io/packages/pact-python","md":"https://skillfed.io/packages/pact-python.md","pypi":"https://pypi.org/project/pact-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-04","license_spdx":null,"license_treatment":"permissive","name":"pact-python","python_support":"supports_current","summary":"Tool for creating and verifying consumer-driven contracts using the Pact framework."},"popularity":{"monthly_downloads":1600435,"position":3728,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.4.0"}
