Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-14 00:52 UTC

fgmacedo / python-statemachine

Expressive statecharts and FSMs for modern Python.

PythonMIT★ 1,324 stars⑂ 116 forkssince Mar 2017View on GitHub ↗

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

91
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.

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

Ownership

Fernando MacedoPersonal account
136 followers26 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.21,391,217420 days ago

Metrics by category

Vitality

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

82Excellent · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
11.8/36Commit cadence — 17/52 weeks with commits
18/18Commit volume — 146 commits in the last year
10/10OpenSSF Scorecard: Maintained — 29 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year146
human_commit_share1
days_since_last_push0
active_weeks_last_year17
How it's scored
27/27Ships releases — 19 releases published
36/36Release recency — latest release 0 days ago
19.8/27Release cadence — a release every ~78.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count19
latest_release_tagv3.2.2
releases_from_tagsno
days_since_latest_release0
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.6/60Stars — 1,324 stars
17.2/25Forks — 116 forks
6.5/15Watchers — 16 watchers
Inputs used
forks116
stars1,324
watchers16
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
7.2/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges5
has_contributingyes
has_issue_templateyes
has_code_of_conductno
readme_badge_servicescodecov.io, readthedocs.org, shields.io
has_pull_request_templateno
How it's scored
80/80Monthly downloads — 1,391,217 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagespython-statemachine
dependents—
ecosystemspypi
total_downloads—
monthly_downloads1,391,217
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?

59Moderate · 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
top_contributor_share0.89
How it's scored
39/42Issue resolution — 93% of issues closed
15.2/30PR acceptance — 243/480 decided PRs merged
5.2/13Newcomer PR acceptance — 2/5 first-time contributors' PRs merged in 30d
1.5/15OpenSSF Scorecard: Code-Review — Found 3/30 approved changesets -- score normalized to 1
Inputs used
merged_prs243
open_issues12
closed_issues158
prs_merged_7d17
prs_decided_7d21
prs_merged_30d18
prs_decided_30d22
issue_closed_ratio0.929
closed_unmerged_prs237
first_time_authors_30d5
first_time_prs_merged_30d2
first_time_prs_decided_30d5
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
15.4/25Owner reach — 136 followers of fgmacedo
22.4/25Track record — 26 public repos, account ~16 yr old
Inputs used
followers136
owner_typeUser
is_verified—
owner_loginfgmacedo
public_repos26
account_age_days5,991
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 0 days ago
20/20Version history — 42 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagespython-statemachine
ecosystemspypi
any_deprecatedno
min_days_since_publish0

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 — 23 out of 23 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes

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
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
has_wikino
homepagehttps://python-statemachine.readthedocs.io
docs_sitehttps://python-statemachine.readthedocs.io
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

76Good · 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 — 23 out of 23 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.8/7.5Code-Review — Found 3/30 approved changesets -- score normalized to 1
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 — 29 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
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
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate7
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
sourceosv
advisories0
affected_packages0
assessed_packages104
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
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.

74Good · 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
has_llms_txtno
llms_txt_url—
legible_history_share0.85
agent_instruction_filesAGENTS.md, CLAUDE.md
agent_instruction_max_bytes15,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
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesuv.lock
has_dockerfileno
typed_languageno
bootstrap_files—
has_devcontainerno
has_linter_configyes
typecheck_configsstatemachine/py.typed
agent_commit_share0
toolchain_manifests—
dependency_bot_commit_share0
How it's scored
27/45Type-checkable code — Python with type-check config (statemachine/py.typed)
54.8/55Manageable file sizes — 1/267 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes71,249
source_files_sampled267
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
example_dirsexamples
has_mcp_signalno
api_schema_files—
interfaces_expected_of—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

1,324GitHub stars
25contributors
146commits, last 12 months
0days since last push
19releases
1bus factor
12open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • deps.dev does not index pypi:python-statemachine@3.2.2; advisories assessed against the repository dependency graph instead

More detail

Star and fork history 0 ★ / 116 ⇿
0Stars
116Forks
18Releases

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.

02040608010012011642017-092022-032026-10
Major 2Minor 7Patch 9

Each point covers 9 days.

OpenSSF Scorecard 7.0 / 10
7.0aggregate

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 00:52 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-Tests23 out of 23 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 3/30 approved changesets -- score normalized to 1
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
10Maintained29 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
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
10Vulnerabilities0 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 0

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: 0 carry known advisories, of which 0 are direct.

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.