Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-14 22:34 UTC

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.

PythonMIT★ 685 stars⑂ 147 forkssince Mar 2017View on GitHub ↗
KindCommand-line toolLibraryhow this is determined

pact-foundation/pact-python holds a health index of 95 out of 100, placing it in the Exceptional band. It scores highest on Vitality (94/100) and lowest on Security (70/100). It was last updated today. A single contributor accounts for most of its recent work.

95
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

95
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 82 is calibrated to 95 on the published index scale (record calibration 2026-08-02).

Ownership

Pact FoundationOrganization
418 followers92 public repossince Sep 2015

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIpact-python3.4.11,075,4098127 days agocontract-testingpacttesting
PyPIpact-python-cli2.6.4.022,49560 days agoclicontract-testingpactpact-python
PyPIpact-python-ffi0.5.8.0972,036827 days agocontract-testingffipactpact-python

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

94Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
32.5/36Commit cadence — 47/52 weeks with commits
18/18Commit volume — 409 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year409
human_commit_share0.22
days_since_last_push0
active_weeks_last_year47
How it's scored
27/27Ships releases — 95 releases published
36/36Release recency — latest release 0 days ago
27/27Release cadence — a release every ~20.1 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count95
latest_release_tagpact-python-cli/2.6.4.0
releases_from_tagsno
days_since_latest_release0
mean_days_between_releases20.1

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

80Excellent · 17% of overall
How it's scored
46/60Stars — 685 stars
18/25Forks — 147 forks
6.8/15Watchers — 18 watchers
Inputs used
forks147
stars685
watchers18
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges17
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesshields.io
has_pull_request_templateyes
How it's scored
80/80Monthly downloads — 2,069,940 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagespact-python, pact-python-cli, pact-python-ffi
dependents—
ecosystemspypi
total_downloads—
monthly_downloads2,069,940
unverified_packages_excluded—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

72Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
11/22.5Commit distribution — top contributor authored 51% of commits
13.5/13.5Contributor breadth — 61 contributors
10/10OpenSSF Scorecard: Contributors — project has 21 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled61
top_contributor_share0.511
How it's scored
40.3/42Issue resolution — 96% of issues closed
28/30PR acceptance — 1,335/1,432 decided PRs merged
13/13Newcomer PR acceptance — 1/1 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-Review — Found 0/7 approved changesets -- score normalized to 0
Inputs used
merged_prs1,335
open_issues11
closed_issues262
prs_merged_7d3
prs_decided_7d3
prs_merged_30d7
prs_decided_30d7
issue_closed_ratio0.96
closed_unmerged_prs97
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
18.9/25Owner reach — 418 followers of pact-foundation
25/25Track record — 92 public repos, account ~11 yr old
Inputs used
followers418
owner_typeOrganization
is_verifiedno
owner_loginpact-foundation
public_repos92
account_age_days4,039

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 3 package(s) on pypi
35/35Publish recency — latest publish 0 days ago
20/20Version history — 81 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagespact-python, pact-python-cli, pact-python-ffi
ecosystemspypi
any_deprecatedno
min_days_since_publish0

Engineering Quality

Are baseline engineering and documentation practices in place?

90Excellent · 19% of overall
How it's scored
24/24CI workflows — 6 workflow(s)
24/24Tests present
16/16Linter config — .ruff.toml, biome.json, pact-python-cli/pyproject.toml ([tool.ruff]), pact-python-ffi/pyproject.toml ([tool.ruff]), pyproject.toml ([tool.ruff])
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 26 out of 26 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configno

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://pact-foundation.github.io/pact-python/
10/10Repository description
10/10Topics — 5 topics
0/10Wiki
Inputs used
topicshacktoberfest, pact, contract-testing, apis, smartbear-supported
has_wikino
homepagehttps://pact-foundation.github.io/pact-python/
docs_sitehttps://pact-foundation.github.io/pact-python/
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

70Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
3/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 26 out of 26 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/7 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 21 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
5/5Pinned-Dependencies — all dependencies are pinned
5/5SAST — SAST tool is run on all commits
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated18
scorecard_versionv5.5.0
checks_inconclusive0
scorecard_aggregate6.2

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages7
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:pact-python@3.4.1 runtime dependency closure — what installing the published package pulls in — 7 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

93Exceptional · 4% of overall
How it's scored
45/45Agent instructions — .github/instructions/pact-cli.instructions.md, .github/instructions/pact-ffi.instructions.md, .github/instructions/pact-v2.instructions.md, .github/instructions/pact.instructions.md, .github/instructions/python-tests.instructions.md, .github/instructions/python.instructions.md, AGENTS.md
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://pact-foundation.github.io/pact-python/llms.txt)
40/40Legible commit history — 21 of 22 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtyes
llms_txt_urlhttps://pact-foundation.github.io/pact-python/llms.txt
legible_history_share0.955
agent_instruction_files.github/instructions/pact-cli.instructions.md, .github/instructions/pact-ffi.instructions.md, .github/instructions/pact-v2.instructions.md, .github/instructions/pact.instructions.md, .github/instructions/python-tests.instructions.md, .github/instructions/python.instructions.md, AGENTS.md
agent_instruction_max_bytes2,187
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — .ruff.toml, biome.json, pact-python-cli/pyproject.toml ([tool.ruff]), pact-python-ffi/pyproject.toml ([tool.ruff]), pyproject.toml ([tool.ruff])
11/11Static type checking — pact-python-cli/src/pact_cli/py.typed, pact-python-ffi/src/pact_ffi/py.typed, src/pact/py.typed
10/10Reproducible environment — devcontainer
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 75 of the last 100 commits are automated dependency updates
10/10OpenSSF Scorecard: Pinned-Dependencies — all dependencies are pinned
Inputs used
has_nixno
has_testsyes
lockfiles—
has_dockerfileno
typed_languageno
bootstrap_filesMakefile
has_devcontaineryes
has_linter_configyes
typecheck_configspact-python-cli/src/pact_cli/py.typed, pact-python-ffi/src/pact_ffi/py.typed, src/pact/py.typed
agent_commit_share0
toolchain_manifests—
dependency_bot_commit_share0.75
How it's scored
27/45Type-checkable code — Python with type-check config (pact-python-cli/src/pact_cli/py.typed, pact-python-ffi/src/pact_ffi/py.typed, src/pact/py.typed)
54.6/55Manageable file sizes — 1/149 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes251,326
source_files_sampled149
oversized_source_files1
How it's scored
40/40API schema (OpenAPI/GraphQL/proto) — examples/plugins/proto/person.proto
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_filesexamples/plugins/proto/person.proto
interfaces_expected_of—
Excluded from scoring (no data or not applicable): MCP server. Remaining weights renormalized.

Key facts

685GitHub stars
61contributors
409commits, last 12 months
0days since last push
95releases
1bus factor
11open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 147 ⇿
0Stars
147Forks
91Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

025507510012515014632017-052021-122026-08
Major 2Minor 27Patch 41

Each point covers 9 days.

OpenSSF Scorecard 6.2 / 10
6.2aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-10-14 22:33 UTC

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests26 out of 26 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/7 approved changesets -- score normalized to 0
10Contributorsproject has 21 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
10Pinned-Dependenciesall dependencies are pinned
10SASTSAST tool is run on all commits
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
PyPIcffi~=2.0pact-python-ffi/pyproject.toml
PyPIpact-python-ffi~=0.5.0pyproject.toml
PyPItyping-extensions~=4.0pyproject.toml
PyPIyarl~=1.0pyproject.toml
All dependencies 42

Full resolved dependency set from the GitHub dependency graph: 3 direct and 39 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIcffi—direct
PyPIpact-python-ffi—direct
PyPIyarl—direct
PyPIaiohttp—indirect
PyPIclick—indirect
PyPIfastapi—indirect
PyPIflask—indirect
PyPIgriffe-generics1.0.13indirect
PyPIgriffe-inherited-method-crossrefs0.0.1.4indirect
PyPIgriffe-pydantic1.3.2indirect
PyPIgriffe-warnings-deprecated1.1.2indirect
PyPIgrpcio—indirect
PyPIhttpx—indirect
PyPImkdocs1.6.1indirect
PyPImkdocs-gen-files0.6.1indirect
PyPImkdocs-github-admonitions-plugin0.1.1indirect
PyPImkdocs-literate-nav0.6.3indirect
PyPImkdocs-llmstxt0.5.1indirect
PyPImkdocs-material9.7.7indirect
PyPImkdocs-section-index0.3.12indirect
PyPImkdocstrings1.0.7indirect
PyPImock—indirect
PyPImypy2.4.0indirect
PyPIpact-python-cli—indirect
PyPIpathspec1.1.1indirect
PyPIprotobuf—indirect
PyPIpsutil—indirect
PyPIpydantic—indirect
PyPIpytest—indirect
PyPIpytest-asyncio—indirect
PyPIpytest-bdd—indirect
PyPIpytest-cov—indirect
PyPIpytest-rerunfailures—indirect
PyPIpython-multipart—indirect
PyPIrequests—indirect
PyPIruff0.17.0indirect
PyPIsix—indirect
PyPItestcontainers—indirect
PyPItypes-grpcio—indirect
PyPItypes-protobuf—indirect
PyPItypes-requests—indirect
PyPIuvicorn—indirect
Dependency advisories 0

Installing pypi:pact-python@3.4.1 pulls in 7 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.