Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

h2

Pure Python HTTP/2 protocol implementation for building HTTP/2 clients.

HTTP clients and networking PyPI MIT

Used in agent projects
7
0.4% of 1,622 Python repos built with AI coding agents; 303 counting our dependency samples
Gid Score
63 /100
#592 of 3,794 tools, #25 in http clients and networking · ranking
Rank in http clients and networking
#40 of 108
by use in those projects
Downloads
42.2M
PyPI, last 7 days, h2
GitHub stars
1,042
198 forks · last push Oct 9, 2026

How h2 is used

h2 is a dependency in 7 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 303 projects, and what it is used with below comes from all of them. The most used alternative in our scan is httpx (277 projects). Projects that use it most often also use NumPy (95.0%), attrs (94.1%), packaging (94.1%).

h2 popularity over time

Top tools by Gid Score

h2: downloads per weekPyPI, h2 41,835,506
h2: GitHub starspython-hyper/h2 1,042

Gid Score 63: downloads 98, use in agent projects 67, GitHub stars 12, downloads trend 56 (each 0-100). How it is calculated.

Often used with h2

NumPy95.0% of h2 projects · 16.3× more than average
attrs94.1% of h2 projects · 135.8× more than average
packaging94.1% of h2 projects · 64.2× more than average
AnyIO93.1% of h2 projects · 62.8× more than average
charset-normalizer92.7% of h2 projects · 85.9× more than average

From all 303 projects in our scan that use h2, including the dependency samples.

Install

Packagepip install h2
Main stacksPython (301), Next.js (2)
Example projectsPaper2Poster/Paper2Poster, YuhangChen1/Paper2All, diffusionstudio/agent, bingreeky/MaAS, quarqlabs/argus

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside h2 are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
httpx pypi
Modern Python HTTP client with async support, replacing the standard requests library.
77 277 (17.1%) 17M 15.6K BSD
aiohttp pypi
Async HTTP client/server framework for Python with WebSocket support.
81 128 (7.9%) 123M 16.6K Apache-2.0 AND MIT

More in HTTP clients and networking: Axios Requests ws websockets redis (Python) postgres node-fetch undici

Is h2 right for your project? Ask AgentGid →