{"adoption": {"forks": 51, "observed_at": "2026-08-28T04:03:44.320545+00:00", "stars": 1140}, "canonical_url": "https://ross.abutalabs.com/products/hpy", "card": {"archived": false, "artifact_type": "library", "description": "HPy: a better API for Python", "domain": ["programming-languages", "developer-tools", "performance"], "enriched": true, "function": ["programming-language", "sdk", "developer-tools"], "health_score": 37, "homepage": "https://hpyproject.org", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["hpyproject/hpy"], "name": "hpyproject/hpy", "platform": ["python", "cpp", "cross-platform"], "pushed_at": "2025-05-26T05:12:33+00:00", "repo": "hpyproject/hpy", "stars": 1140, "tags": ["c-api", "python-extensions", "cpython", "pypy", "graalpy", "abi", "debug-mode"], "topics": ["hpy"], "urls": [], "use_cases": ["write Python C extensions that run on CPython, PyPy, and GraalPy", "port an existing CPython C API extension to a portable API", "detect forgotten Py_INCREF/Py_DECREF memory leaks in C extensions", "build universal binaries that stay compatible across Python versions", "speed up C extensions on alternative Python implementations like PyPy", "experiment with CPython internals like removing the GIL or using a GC"], "what_it_is": "HPy is a new C API and ABI specification for extending Python that is implementation-agnostic, working across CPython, PyPy, and GraalPy. It offers zero-overhead on CPython, universal binaries, a debug mode for detecting memory leaks and API misuse, and an incremental migration path from the legacy C API.", "when_to_avoid": ["you only target CPython and are happy with the standard C API", "you depend on C API features not yet covered by HPy", "you need a fully stable, long-term-supported ABI today since HPy is still approaching its first stable release"], "when_to_choose": ["you maintain a C extension and want compatibility with PyPy or GraalPy", "you want runtime debugging of reference-counting bugs in C extensions", "you want binary stability across CPython versions without recompiling", "you are building new C extensions and want a cleaner, more consistent API"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/hpy", "repo": "hpyproject/hpy", "role": "main", "score": 33}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "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:03:44.320545+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.320545+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:35:30.807200+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "197a0026a4c26e4a3d88690f745384c6a7dc5f18a1bd3ba586b54bc382255629", "fetched_at": "2026-08-28T04:03:44.320545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hpyproject/hpy"}, {"content_hash": "059430fe72c1af538f64702f9de20b48578799fc59c441191e200de3113232db", "fetched_at": "2026-08-29T12:40:42.686835+00:00", "kind": "homepage", "missing": false, "url": "https://hpyproject.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 23, "longevity": 100, "rhythm": 8}, "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": 2609, "days_push": 464, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 33, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}