{"adoption": {"forks": 192, "observed_at": "2026-08-28T04:04:52.500343+00:00", "stars": 1491}, "canonical_url": "https://ross.abutalabs.com/products/py-tree-sitter", "card": {"archived": false, "artifact_type": "library", "description": "Python bindings to the Tree-sitter parsing library", "domain": ["parsers", "programming-languages", "developer-tools"], "enriched": true, "function": ["parser", "developer-tools"], "health_score": 98, "homepage": "https://tree-sitter.github.io/py-tree-sitter/", "language": "C", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["tree-sitter/py-tree-sitter"], "name": "tree-sitter/py-tree-sitter", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-22T12:22:44+00:00", "repo": "tree-sitter/py-tree-sitter", "stars": 1491, "tags": ["tree-sitter", "syntax-tree", "incremental-parsing", "code-analysis", "bindings"], "topics": ["tree-sitter", "python", "binding"], "urls": [], "use_cases": ["parse source code into a syntax tree in Python", "build a code linter or analyzer", "extract symbols and structure from code files", "write syntax-aware code search queries", "power syntax highlighting for an editor", "incrementally reparse edited source code"], "what_it_is": "Python bindings to the Tree-sitter incremental parsing library, exposing Parser, Tree, Node, and Query APIs for building concrete syntax trees from source code. It ships pre-compiled wheels with no library dependencies and supports loading separately installed language grammars.", "when_to_avoid": ["you need a full compiler frontend with semantic analysis or type information", "you only need to parse Python itself and prefer the stdlib ast module", "you need a pure-Python solution without native extensions"], "when_to_choose": ["you need fast, error-tolerant parsing of many programming languages from Python", "you want to query code with Tree-sitter's pattern query syntax", "you're building tooling like highlighters, linters, or refactoring tools"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/py-tree-sitter", "repo": "tree-sitter/py-tree-sitter", "role": "main", "score": 92}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:52.500343+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:33:35.341990+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "56c03047714023d5af69c2b432b2bcc0eb6f879a944cb68591f9df059c4c0a72", "fetched_at": "2026-08-28T04:04:52.500343+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tree-sitter/py-tree-sitter"}, {"content_hash": "74a745d786491be0c8adf4c24bac102e9394109c2581dc05abbf19426452cecb", "fetched_at": "2026-08-29T11:39:20.396889+00:00", "kind": "homepage", "missing": false, "url": "https://tree-sitter.github.io/py-tree-sitter/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 78}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2723, "days_push": 11, "days_rel": 64, "gap_med": 67.5, "n_releases_24m": 7}, "score": 92, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}