Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-27 05:05 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★ 688 stars⑂ 147 forkssince Mar 2017View on GitHub ↗
KindPluginCommand-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 (71/100). It was last updated 1 day ago. 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
423 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-python4.2.01,277,6888435 days agocontract-testingpacttesting
PyPIpact-python-ffi0.5.13.01,190,858127 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 1 days ago
31.8/36Commit cadence — 46/52 weeks with commits
18/18Commit volume — 471 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year471
Share of human-authored commits0.51
Days since last push1
Weeks with commits in the last year46
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 7 days ago
27/27Release cadence — a release every ~7.1 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
Number of releases100
Latest release tagpact-python-ffi/0.5.13.0
Releases derived from version tagsno
Days since latest release7
Mean days between releases7.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 — 688 stars
18/25Forks — 147 forks
6.7/15Watchers — 17 watchers
Inputs used
Forks147
Stars688
Watchers17
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_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
README presentyes
License file presentyes
Badges in the README17
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEshields.io
Pull request template presentyes
How it's scored
80/80Monthly downloads — 2,468,546 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagespact-python, pact-python-ffi
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads2,468,546
Packages excluded as unverified—
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?

73Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
10.4/22.5Commit distribution — top contributor authored 54% 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
Share of commits by the top contributor0.537
How it's scored
40.5/42Issue resolution — 96% of issues closed
28/30PR acceptance — 1,402/1,501 decided PRs merged
13/13Newcomer PR acceptance — 1/1 first-time contributors' PRs merged in 30d
4.5/15OpenSSF Scorecard: Code-Review — Found 1/3 approved changesets -- score normalized to 3
Inputs used
Merged pull requests1,402
Open issues10
Closed issues264
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days3
Pull requests decided in the last 30 days3
Share of issues closed0.964
Pull requests closed without merging99
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days1
Pull requests from first-time contributors decided in the last 30 days1
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
18.9/25Owner reach — 423 followers of pact-foundation
25/25Track record — 92 public repos, account ~11 yr old
Inputs used
Followers423
Owner account typeOrganization
Verified domainno
Owner accountpact-foundation
Public repositories92
Owner account age in days4,082

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 2 package(s) on pypi
35/35Publish recency — latest publish 7 days ago
20/20Version history — 84 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagespact-python, pact-python-ffi
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish7

Engineering Quality

Are baseline engineering and documentation practices in place?

90Excellent · 19% of overall
How it's scored
24/24CI workflows — 5 workflow(s)
24/24Tests present
16/16Linter config — .ruff.toml, biome.json, 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 — 27 out of 27 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentyes
Pre-commit config presentno

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
Repository topicshacktoberfest, pact, contract-testing, apis, smartbear-supported
Wiki enabledno
Repository homepagehttps://pact-foundation.github.io/pact-python/
Documentation sitehttps://pact-foundation.github.io/pact-python/
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

71Good · 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 — 27 out of 27 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
2.2/7.5Code-Review — Found 1/3 approved changesets -- score normalized to 3
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 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
5/5Pinned-Dependencies — all dependencies are pinned
4.5/5SAST — SAST tool is not run on all commits -- score normalized to 9
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
Data sourceopenssf_scorecard
Scorecard checks evaluated18
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive0
OpenSSF Scorecard aggregate score6.4

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
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed3
Packages not assessed0
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:pact-python@4.2.0 runtime dependency closure — what installing the published package pulls in — 3 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-ffi.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 — 51 of 51 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentyes
llms.txt address on the project websitehttps://pact-foundation.github.io/pact-python/llms.txt
Share of human commits that state their intent1
Agent instruction files.github/instructions/pact-ffi.instructions.md, .github/instructions/pact.instructions.md, .github/instructions/python-tests.instructions.md, .github/instructions/python.instructions.md, AGENTS.md
Size of the largest agent instruction file (bytes)2,187
How it's scored
18/18One-command bootstrap — Makefile, mise.toml
22/22Automated tests
11/11Lint / format config — .ruff.toml, biome.json, pact-python-ffi/pyproject.toml ([tool.ruff]), pyproject.toml ([tool.ruff])
11/11Static type checking — 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 — 43 of the last 100 commits are automated dependency updates
10/10OpenSSF Scorecard: Pinned-Dependencies — all dependencies are pinned
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile, mise.toml
Dev container config presentyes
Linter config presentyes
Static type-check config filespact-python-ffi/src/pact_ffi/py.typed, src/pact/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0.43
How it's scored
27/45Type-checkable code — Python with type-check config (pact-python-ffi/src/pact_ffi/py.typed, src/pact/py.typed)
54.1/55Manageable file sizes — 2/121 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)258,986
Source files sampled121
Oversized source files2
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
Runnable example directoriesexamples
MCP server signal presentno
API schema filesexamples/plugins/proto/person.proto
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): MCP server. Remaining weights renormalized.

Key facts

688GitHub stars
61contributors
471commits, last 12 months
1days since last push
100releases
1bus factor
10open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

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

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-052022-022026-10
Major 2Minor 26Patch 41

Each point covers 9 days.

OpenSSF Scorecard 6.4 / 10
6.4aggregate

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-11-27 05:05 UTC

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests27 out of 27 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
3Code-ReviewFound 1/3 approved changesets -- score normalized to 3
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 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
10Pinned-Dependenciesall dependencies are pinned
9SASTSAST tool is not run on all commits -- score normalized to 9
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.1.1pact-python-ffi/pyproject.toml
PyPIcffi~=2.0pact-python-ffi/pyproject.toml
PyPIpact-python-ffi~=0.5.12pyproject.toml
PyPItyping-extensions~=4.0pyproject.toml
All dependencies 37

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

RegistryPackageVersionRelation
PyPIcffi—direct
PyPIpact-python-ffi—direct
PyPIaiohttp—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.2indirect
PyPImkdocs-literate-nav0.6.3indirect
PyPImkdocs-llmstxt0.5.1indirect
PyPImkdocs-material9.8.2indirect
PyPImkdocs-section-index0.3.12indirect
PyPImkdocstrings1.0.8indirect
PyPImypy2.4.1indirect
PyPIpathspec1.1.1indirect
PyPIprotobuf—indirect
PyPIpydantic—indirect
PyPIpygments-ansi-color0.3.0indirect
PyPIpytest—indirect
PyPIpytest-asyncio—indirect
PyPIpytest-bdd—indirect
PyPIpytest-cov—indirect
PyPIpytest-rerunfailures—indirect
PyPIpython-multipart—indirect
PyPIrequests—indirect
PyPIruff0.17.6indirect
PyPItestcontainers—indirect
PyPItypes-grpcio—indirect
PyPItypes-protobuf—indirect
PyPItypes-requests—indirect
PyPIuvicorn—indirect
Dependency advisories 0

Installing pypi:pact-python@4.2.0 pulls in 3 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.