Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-21 01:41 UTC

tree-sitter / tree-sitter-python

Python grammar for tree-sitter

JavaScript · CMIT★ 571 stars⑂ 253 forkssince Dec 2016View on GitHub ↗

tree-sitter/tree-sitter-python holds a health index of 34 out of 100, placing it in the At Risk band. It scores highest on Engineering Quality (74/100) and lowest on Vitality (32/100). It was last updated 37 days ago. 2 contributors account for most of its recent work.

34
overall / 100
At Risk

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.

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

Ownership

tree-sitterOrganization
2,747 followers56 public repossince Feb 2016

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Gogithub.com/tree-sitter/tree-sitter-pythonv0.25.0-43404 days ago—
crates.iotree-sitter-python0.25.02,155,51318404 days agoparsingpythonincrementaltree-sittertext-editorsparser-implementations
npmtree-sitter-python0.25.05,033,31841404 days agoincrementalparsingtree-sitterpython
PyPItree-sitter-python0.25.09,417,8779404 days agoincrementalparsingtree-sitterpython

Metrics by category

Vitality

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

32At Risk · 21% of overall
How it's scored
18/36Push recency — last push 37 days ago
0/36Commit cadence — 0/52 weeks with commits
0/18Commit volume — 0 commits in the last year
0/10OpenSSF Scorecard: Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year0
human_commit_share1
days_since_last_push37
active_weeks_last_year0
How it's scored
27/27Ships releases — 5 releases published
7.2/36Release recency — latest release 404 days ago
19.8/27Release cadence — a release every ~76.3 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count5
latest_release_tagv0.25.0
releases_from_tagsno
days_since_latest_release404
mean_days_between_releases76.3

Community & Adoption

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

71Good · 17% of overall
How it's scored
44.7/60Stars — 571 stars
20/25Forks — 253 forks
7/15Watchers — 19 watchers
Inputs used
forks253
stars571
watchers19
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services—
has_pull_request_templateno
How it's scored
80/80Monthly downloads — 16,606,708 downloads/month across crates, go, npm, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesgithub.com/tree-sitter/tree-sitter-python, tree-sitter-python, tree-sitter-python, tree-sitter-python
dependents—
ecosystemscrates, go, npm, pypi
total_downloads18,331,955
monthly_downloads16,606,708
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?

71Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
11.7/22.5Commit distribution — top contributor authored 48% of commits
13.5/13.5Contributor breadth — 32 contributors
10/10OpenSSF Scorecard: Contributors — project has 20 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled32
top_contributor_share0.481
How it's scored
35.2/42Issue resolution — 84% of issues closed
20.2/30PR acceptance — 108/160 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
4.5/15OpenSSF Scorecard: Code-Review — Found 6/17 approved changesets -- score normalized to 3
Inputs used
merged_prs108
open_issues29
closed_issues150
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.838
closed_unmerged_prs52
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
24.7/25Owner reach — 2,747 followers of tree-sitter
24.8/25Track record — 56 public repos, account ~10 yr old
Inputs used
followers2,747
owner_typeOrganization
is_verifiedno
owner_logintree-sitter
public_repos56
account_age_days3,903
How it's scored
25/25Published & resolvable — 4 package(s) on crates, go, npm, pypi
14/35Publish recency — latest publish 404 days ago
20/20Version history — 43 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesgithub.com/tree-sitter/tree-sitter-python, tree-sitter-python, tree-sitter-python, tree-sitter-python
ecosystemscrates, go, npm, pypi
any_deprecatedno
min_days_since_publish404

Engineering Quality

Are baseline engineering and documentation practices in place?

74Good · 19% of overall
How it's scored
24/24CI workflows — 4 workflow(s)
24/24Tests present
16/16Linter config — eslint.config.mjs
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
10/20OpenSSF Scorecard: CI-Tests — 5 out of 10 merged PRs checked by a CI test -- score normalized to 5
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://docs.rs/tree-sitter-python
10/10Repository description
10/10Topics — 3 topics
0/10Wiki
Inputs used
topicstree-sitter, python, parser
has_wikino
homepage—
docs_sitehttps://docs.rs/tree-sitter-python
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

44Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
3.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
1.2/2.5CI-Tests — 5 out of 10 merged PRs checked by a CI test -- score normalized to 5
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
2.2/7.5Code-Review — Found 6/17 approved changesets -- score normalized to 3
2.5/2.5Contributors — project has 20 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
0/7.5Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging — no data
0.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 1
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
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
0/7.5Vulnerabilities — 20 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate3
Excluded from scoring (no data or not applicable): Packaging. 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
advisories20
affected_packages7
assessed_packages153
unassessed_packages0
affected_by_severitycritical 1, high 4, moderate 2
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 153 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.

68Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 89 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.89
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — eslint.config.mjs
11/11Static type checking — bindings/python/tree_sitter_python/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
1/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 1
Inputs used
has_nixno
has_testsyes
lockfilesCargo.lock, go.sum, package-lock.json
has_dockerfileno
typed_languageno
bootstrap_filesMakefile
has_devcontainerno
has_linter_configyes
typecheck_configsbindings/python/tree_sitter_python/py.typed
agent_commit_share0
toolchain_manifestsCargo.toml, go.mod
dependency_bot_commit_share0
How it's scored
27/45Type-checkable code — JavaScript with type-check config (bindings/python/tree_sitter_python/py.typed)
53.6/55Manageable file sizes — 1/39 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes3,448,505
source_files_sampled39
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

571GitHub stars
32contributors
0commits, last 12 months
37days since last push
5releases
2bus factor
29open issues
crates.io, Go, npm, 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 ★ / 253 ⇿
0Stars
253Forks
5Releases

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.

0408012016020024022352017-102022-042026-10
Major 0Minor 1Patch 4

Each point covers 9 days.

OpenSSF Scorecard 3.0 / 10
3.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-21 01:40 UTC

10Binary-Artifactsno binaries found in the repo
5Branch-Protectionbranch protection is not maximal on development and all release branches
5CI-Tests5 out of 10 merged PRs checked by a CI test -- score normalized to 5
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
3Code-ReviewFound 6/17 approved changesets -- score normalized to 3
10Contributorsproject has 20 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
1Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 1
0SASTSAST tool is not run on all commits -- score normalized to 0
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
0Vulnerabilities20 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.24.0go.mod
npmnode-addon-api^8.5.0package.json
npmnode-gyp-build^4.8.4package.json
All dependencies 153

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

RegistryPackageVersionRelation
crates.iotree-sitter-language0.1.5direct
Gogithub.com/tree-sitter/go-tree-sitter0.24.0direct
npmnode-addon-api8.5.0direct
npmnode-gyp-build4.8.4direct
crates.ioaho-corasick1.1.3indirect
crates.iocc1.2.36indirect
crates.ioequivalent1.0.2indirect
crates.iofind-msvc-tools0.1.1indirect
crates.iohashbrown0.15.5indirect
crates.ioindexmap2.11.1indirect
crates.ioitoa1.0.15indirect
crates.iomemchr2.7.5indirect
crates.ioproc-macro21.0.101indirect
crates.ioquote1.0.40indirect
crates.ioregex1.11.2indirect
crates.ioregex-automata0.4.10indirect
crates.ioregex-syntax0.8.6indirect
crates.ioryu1.0.20indirect
crates.ioserde1.0.219indirect
crates.ioserde_derive1.0.219indirect
crates.ioserde_json1.0.143indirect
crates.ioshlex1.3.0indirect
crates.iostreaming-iterator0.1.9indirect
crates.iosyn2.0.106indirect
crates.iotree-sitter0.25.9indirect
crates.iounicode-ident1.0.18indirect
Gogithub.com/mattn/go-pointer0.0.1indirect
npm@es-joy/jsdoccomment0.49.0indirect
npm@eslint-community/eslint-utils4.9.0indirect
npm@eslint-community/regexpp4.12.1indirect
npm@eslint/config-array0.21.0indirect
npm@eslint/config-helpers0.3.1indirect
npm@eslint/core0.15.2indirect
npm@eslint/eslintrc3.3.1indirect
npm@eslint/js9.35.0indirect
npm@eslint/object-schema2.1.6indirect
npm@eslint/plugin-kit0.3.5indirect
npm@humanfs/core0.19.1indirect
npm@humanfs/node0.16.6indirect
npm@humanwhocodes/module-importer1.0.1indirect
npm@humanwhocodes/retry0.3.1indirect
npm@humanwhocodes/retry0.4.3indirect
npm@pkgr/core0.1.1indirect
npm@types/estree1.0.6indirect
npm@types/json-schema7.0.15indirect
npmacorn8.15.0indirect
npmacorn-jsx5.3.2indirect
npmajv6.12.6indirect
npmansi-styles4.3.0indirect
npmare-docs-informative0.0.2indirect
npmargparse2.0.1indirect
npmbalanced-match1.0.2indirect
npmbase64-js1.5.1indirect
npmbl4.1.0indirect
npmbrace-expansion1.1.12indirect
npmbuffer5.7.1indirect
npmcallsites3.1.0indirect
npmchalk4.1.2indirect
npmchownr1.1.4indirect
npmcolor-convert2.0.1indirect
npmcolor-name1.1.4indirect
npmcomment-parser1.4.1indirect
npmconcat-map0.0.1indirect
npmcross-spawn7.0.6indirect
npmdebug4.3.7indirect
npmdeep-is0.1.4indirect
npmend-of-stream1.4.4indirect
npmes-module-lexer1.5.4indirect
npmescape-string-regexp4.0.0indirect
npmeslint9.35.0indirect
npmeslint-config-treesitter1.0.2indirect
npmeslint-plugin-jsdoc50.4.1indirect
npmeslint-scope8.4.0indirect
npmeslint-visitor-keys3.4.3indirect
npmeslint-visitor-keys4.2.1indirect
npmespree10.4.0indirect
npmesquery1.6.0indirect
npmesrecurse4.3.0indirect
npmestraverse5.3.0indirect
npmesutils2.0.3indirect
npmfast-deep-equal3.1.3indirect
npmfast-json-stable-stringify2.1.0indirect
npmfast-levenshtein2.0.6indirect
npmfile-entry-cache8.0.0indirect
npmfind-up5.0.0indirect
npmflat-cache4.0.1indirect
npmflatted3.3.1indirect
npmfs-constants1.0.0indirect
npmglob-parent6.0.2indirect
npmglobals14.0.0indirect
npmhas-flag4.0.0indirect
npmieee7541.2.1indirect
npmignore5.3.2indirect
npmimport-fresh3.3.1indirect
npmimurmurhash0.1.4indirect
npminherits2.0.4indirect
npmis-extglob2.1.1indirect
npmis-glob4.0.3indirect
npmisexe2.0.0indirect
npmjs-yaml4.1.0indirect
npmjsdoc-type-pratt-parser4.1.0indirect
npmjson-buffer3.0.1indirect
npmjson-schema-traverse0.4.1indirect
npmjson-stable-stringify-without-jsonify1.0.1indirect
npmkeyv4.5.4indirect
npmlevn0.4.1indirect
npmlocate-path6.0.0indirect
npmlodash.merge4.6.2indirect
npmminimatch3.1.2indirect
npmminimist1.2.8indirect
npmmkdirp-classic0.5.3indirect
npmms2.1.3indirect
npmnatural-compare1.4.0indirect
npmnode-abi3.67.0indirect
npmnpm-run-path3.1.0indirect
npmonce1.4.0indirect
npmoptionator0.9.4indirect
npmp-limit3.1.0indirect
npmp-locate5.0.0indirect
npmparent-module1.0.1indirect
npmparse-imports2.2.1indirect
npmpath-exists4.0.0indirect
npmpath-key3.1.1indirect
npmprebuildify6.0.1indirect
npmprelude-ls1.2.1indirect
npmpump3.0.0indirect
npmpunycode2.3.1indirect
npmreadable-stream3.6.2indirect
npmresolve-from4.0.0indirect
npmsafe-buffer5.2.1indirect
npmsemver7.6.3indirect
npmshebang-command2.0.0indirect
npmshebang-regex3.0.0indirect
npmslashes3.0.12indirect
npmspdx-exceptions2.5.0indirect
npmspdx-expression-parse4.0.0indirect
npmspdx-license-ids3.0.20indirect
npmstring_decoder1.3.0indirect
npmstrip-json-comments3.1.1indirect
npmsupports-color7.2.0indirect
npmsynckit0.9.2indirect
npmtar-fs2.1.3indirect
npmtar-stream2.2.0indirect
npmtree-sitter0.25.0indirect
npmtree-sitter-cli0.25.9indirect
npmtslib2.7.0indirect
npmtype-check0.4.0indirect
npmuri-js4.4.1indirect
npmutil-deprecate1.0.2indirect
npmwhich2.0.2indirect
npmword-wrap1.2.5indirect
npmwrappy1.0.2indirect
npmyocto-queue0.1.0indirect
Dependency advisories 7

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

PackageVersionRelationSeverityAdvisoriesFixed in
flatted3.3.1indirectcritical23.4.2
brace-expansion1.1.12indirecthigh75.0.12
js-yaml4.1.0indirecthigh54.3.2
minimatch3.1.2indirecthigh310.2.3
tar-fs2.1.3indirecthigh13.1.1
@humanfs/node0.16.6indirectmoderate10.16.8
ajv6.12.6indirectmoderate18.18.0

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 — Go, crates.io, npm, PyPI.