python-hyper/h2
Pure-Python HTTP/2 protocol implementation observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 96
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4088
- days_rel: n/a
- days_push: 28
- n_releases_24m: 0
Adoption not part of the score
1040 stars · 187 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
h2 is a pure-Python implementation of the HTTP/2 protocol stack that performs no I/O, making it embeddable in any program or framework. It exposes an in-memory state machine over HTTP/2 frames, letting developers build clients or servers on top of their own networking layer.
Use cases
- implement http/2 support in a python http client
- build a custom http/2 server on my own event loop
- parse and generate http/2 frames in python
- add http/2 to an existing asyncio or twisted application
- test http/2 protocol behavior without real sockets
- embed http/2 in a proxy or load balancer written in python
When to choose
- you need fine-grained control over the HTTP/2 protocol layer without a bundled network stack
- you want a pure-Python, dependency-light implementation that works with any concurrency model
- you are building an HTTP client, server, proxy, or framework that must speak HTTP/2
When to avoid
- you just want to make HTTP requests - use requests or httpx instead
- you need a complete out-of-the-box HTTP server or client with I/O included
- you need HTTP/3 or QUIC support
Facets
library · maturity stable
http-server http-client parser middleware web-development networking apis developer-tools python cross-platform http2 protocol-implementation pure-python no-io embeddable hpack framing
4 sources
- readme: https://github.com/python-hyper/h2 · fetched 2026-08-28 · af3b27024f09
- homepage: https://python-hyper.org/ · fetched 2026-08-29 · d006c13cf07b
- registry_pypi: https://pypi.org/pypi/h2/json · fetched 2026-08-29 · 5b9d94f5eeb3
- site_page: http://python-hyper.org/en/latest/contributing.html · fetched 2026-08-29 · 320405b4050f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-hyper/h2 | main | 75 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem