Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-27 03:24 UTC

fgmacedo / python-statemachine

Expressive statecharts and FSMs for modern Python.

PythonMIT★ 1,341 stars⑂ 121 forkssince Mar 2017View on GitHub ↗

fgmacedo/python-statemachine holds a health index of 88 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (92/100) and lowest on Sustainability & Governance (57/100). It was last updated 34 days ago. A single contributor accounts for most of its recent work.

88
overall / 100
Excellent

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.

88
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 74 is calibrated to 88 on the published index scale (record calibration 2026-08-02).

Ownership

Fernando MacedoPersonal account
134 followers27 public repossince May 2010

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIpython-statemachine3.2.23,341,5454244 days ago

Metrics by category

Vitality

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

72Good · 21% of overall
How it's scored
18/36Push recency — last push 34 days ago
13.2/36Commit cadence — 19/52 weeks with commits
18/18Commit volume — 152 commits in the last year
10/10OpenSSF Scorecard: Maintained — 26 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year152
Share of human-authored commits1
Days since last push34
Weeks with commits in the last year19
How it's scored
27/27Ships releases — 19 releases published
36/36Release recency — latest release 44 days ago
19.8/27Release cadence — a release every ~78.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases19
Latest release tagv3.2.2
Releases derived from version tagsno
Days since latest release44
Mean days between releases78.6
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

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

82Excellent · 17% of overall
How it's scored
50.7/60Stars — 1,341 stars
17.3/25Forks — 121 forks
6.5/15Watchers — 16 watchers
Inputs used
Forks121
Stars1,341
Watchers16
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
7.2/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README5
CONTRIBUTING guide presentyes
Issue template presentyes
Code of conduct presentno
Badge services used in the READMEcodecov.io, readthedocs.org, shields.io
Pull request template presentno
How it's scored
80/80Monthly downloads — 3,341,545 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagespython-statemachine
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads3,341,545
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?

57Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
2.5/22.5Commit distribution — top contributor authored 89% of commits
13.5/13.5Contributor breadth — 25 contributors
3/10OpenSSF Scorecard: Contributors — project has 1 contributing companies or organizations -- score normalized to 3
Inputs used
Bus factor1
Contributors sampled25
Share of commits by the top contributor0.891
How it's scored
33/42Issue resolution — 79% of issues closed
15.3/30PR acceptance — 247/484 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 2/30 approved changesets -- score normalized to 0
Inputs used
Merged pull requests247
Open issues43
Closed issues158
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days0
Share of issues closed0.786
Pull requests closed without merging237
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
15.3/25Owner reach — 134 followers of fgmacedo
22.5/25Track record — 27 public repos, account ~16 yr old
Inputs used
Followers134
Owner account typeUser
Verified domain—
Owner accountfgmacedo
Public repositories27
Owner account age in days6,035
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 44 days ago
20/20Version history — 42 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagespython-statemachine
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish44

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 24 out of 24 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://python-statemachine.readthedocs.io
10/10Repository description
10/10Topics — 17 topics
0/10Wiki
Inputs used
Repository topicsstate-machine, statemachine, automata, finite-state-machine, python, fsm, fsm-library, state, state-machine-diagram, state-machine-dsl, state-management, scxml, statechart, statecharts, hierarchical-state-machine, hsm, harel-statechart
Wiki enabledno
Repository homepagehttps://python-statemachine.readthedocs.io
Documentation sitehttps://python-statemachine.readthedocs.io
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

72Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 24 out of 24 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 2/30 approved changesets -- score normalized to 0
0.8/2.5Contributors — project has 1 contributing companies or organizations -- score normalized to 3
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 — 26 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
3.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 7
5/5SAST — SAST tool is run on all commits
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
6.8/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 73 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated16
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive2
OpenSSF Scorecard aggregate score6.5
Excluded from scoring (no data or not applicable): Branch-Protection, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages105
Packages affected by advisories5
Packages assessed104
Packages not assessed0
Affected packages by severitycritical 1, high 4
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 104 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. 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.

77Good · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md, CLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 85 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.85
Agent instruction filesAGENTS.md, CLAUDE.md
Size of the largest agent instruction file (bytes)15,932
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — statemachine/py.typed
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
7/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 7
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config filesstatemachine/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
How it's scored
27/45Type-checkable code — Python with type-check config (statemachine/py.typed)
54.8/55Manageable file sizes — 1/274 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)71,249
Source files sampled274
Oversized source files1
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
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 files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

1,341GitHub stars
25contributors
152commits, last 12 months
34days since last push
19releases
1bus factor
43open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 121 ⇿
0Stars
121Forks
19Releases

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.

025507510012512142017-092022-042026-11
Major 2Minor 7Patch 10

Each point covers 9 days.

OpenSSF Scorecard 6.5 / 10
6.5aggregate

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 03:23 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests24 out of 24 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 2/30 approved changesets -- score normalized to 0
3Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained26 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
7Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 7
10SASTSAST tool is run on all commits
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
9Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities73 existing vulnerabilities detected
All dependencies 104

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

RegistryPackageVersionRelation
PyPIaccessible-pygments0.0.5indirect
PyPIalabaster1.0.0indirect
PyPIanyio4.15.1indirect
PyPIasgiref3.12.1indirect
PyPIast-serialize0.12.1indirect
PyPIattrs26.1.0indirect
PyPIbabel2.18.0indirect
PyPIbackports-asyncio-runner1.2.0indirect
PyPIbeautifulsoup44.15.0indirect
PyPIcertifi2026.7.22indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.5.2indirect
PyPIclick8.5.0indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.16.2indirect
PyPIdistlib0.4.3indirect
PyPIdjango5.2.18indirect
PyPIdjango6.1.2indirect
PyPIdocutils0.21.2indirect
PyPIdocutils0.22.4indirect
PyPIexceptiongroup1.3.1indirect
PyPIexecnet2.1.2indirect
PyPIfilelock4.0.12indirect
PyPIfuro2025.12.19indirect
PyPIh110.16.0indirect
PyPIidentify2.6.20indirect
PyPIidna3.20indirect
PyPIimagesize2.0.1indirect
PyPIiniconfig2.3.0indirect
PyPIjinja23.1.6indirect
PyPIjsonschema4.26.0indirect
PyPIjsonschema-specifications2025.9.1indirect
PyPIlibrt0.16.0indirect
PyPImarkdown-it-py3.0.0indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarkupsafe3.0.4indirect
PyPImdit-py-plugins0.6.1indirect
PyPImdurl0.1.2indirect
PyPImypy2.4.0indirect
PyPImypy-extensions1.1.0indirect
PyPImyst-parser4.0.1indirect
PyPImyst-parser5.1.0indirect
PyPInodeenv1.11.0indirect
PyPIpackaging26.3indirect
PyPIpathspec1.1.1indirect
PyPIpdbr0.9.8indirect
PyPIpillow12.3.0indirect
PyPIplatformdirs4.12.3indirect
PyPIpluggy1.6.0indirect
PyPIpre-commit4.6.2indirect
PyPIpy-cpuinfo210.1.1indirect
PyPIpydot4.0.1indirect
PyPIpygments2.21.0indirect
PyPIpyparsing3.3.3indirect
PyPIpyreadline33.5.6indirect
PyPIpyright1.1.414indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpytest-benchmark5.3.0indirect
PyPIpytest-cov7.1.0indirect
PyPIpytest-django4.14.0indirect
PyPIpytest-mock3.16.0indirect
PyPIpytest-sugar1.1.1indirect
PyPIpytest-timeout2.4.0indirect
PyPIpytest-xdist3.8.0indirect
PyPIpython-discovery1.6.1indirect
PyPIpython-statemachine3.2.1indirect
PyPIpyyaml6.0.3indirect
PyPIreferencing0.37.0indirect
PyPIrequests2.34.2indirect
PyPIrich15.0.0indirect
PyPIroman-numerals4.1.0indirect
PyPIrpds-py0.30.0indirect
PyPIrpds-py2026.9.1indirect
PyPIruff0.16.10indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsoupsieve2.10indirect
PyPIsphinx8.1.3indirect
PyPIsphinx9.0.4indirect
PyPIsphinx9.1.0indirect
PyPIsphinx-autobuild2024.10.3indirect
PyPIsphinx-autobuild2025.8.25indirect
PyPIsphinx-basic-ng1.0.0b2indirect
PyPIsphinx-copybutton0.5.2indirect
PyPIsphinx-gallery0.22.1indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-mermaid2.1.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIsqlparse0.6.0indirect
PyPIstarlette1.7.0indirect
PyPItermcolor3.3.0indirect
PyPItomli2.4.1indirect
PyPItyping-extensions4.16.0indirect
PyPItzdata2026.5indirect
PyPIurllib32.8.0indirect
PyPIuvicorn0.54.0indirect
PyPIvirtualenv21.14.5indirect
PyPIwatchfiles1.3.0indirect
PyPIwebsockets16.1.1indirect
PyPIwebsockets17.2indirect
Dependency advisories 5

This repository publishes no package the index resolves, so its own dependency graph was assessed — 104 packages, which also include development and test pins that never ship: 5 carry known advisories, of which 0 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
pillow12.3.0indirectcritical6213.0.0
certifi2026.7.22indirecthigh22026.10.18
filelock4.0.12indirecthigh134.2.1
soupsieve2.10indirecthigh34.0.0
virtualenv21.14.5indirecthigh2521.14.10

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.