Ross ROSS = Recommend OSS · open-source software intelligence for agents

hpyproject/hpy

HPy: a better API for Python observed · 2026-08-28

github.com/hpyproject/hpy · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

33/100

  • Activity 23
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2609
  • days_rel: n/a
  • days_push: 464
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1140 stars · 51 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity active

programming-language sdk developer-tools programming-languages developer-tools performance python cpp cross-platform c-api python-extensions cpython pypy graalpy abi debug-mode

2 sources

Member repositories

RepositoryRoleHealth v2
hpyproject/hpymain33

For agents

markdown · JSON · MCP: product_card(name="hpyproject/hpy")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem