Comparison
aiohttp vs httpx vs httpx-ws
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Async http client/server framework (asyncio)
Actively maintained. Last release 7 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install aiohttpThe next generation HTTP client.
Maintained. Last release 5 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
$
pip install httpxWebSockets support for HTTPX
Maintained. Last release 2 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install httpx-wsIn short
- httpx is the most used: 836.3M downloads a month.
- aiohttp is better maintained: Pythie’s Index 83 against 60.
- httpx is growing fastest: downloads +15% over the last month.
- Safe default for a new project: httpx, or aiohttp if active maintenance matters most.
Side by side
| Metric | aiohttp | httpx | httpx-ws |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 60 | Pythie’s Index: 60 |
| Verdict | Actively maintained | Maintained | Maintained |
| Downloads / month | 560.9M | 836.3M | 10.9M |
| Downloads, month over month | +7% | +15% | +4% |
| GitHub stars | 16.6K | 15.9K | 151 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 16.3K | 37 | 46 |
| Last release | Oct 11, 2026 | Nov 26, 2026 | Nov 14, 2026 |
| Releases, 12 months | 9 | 4 | 2 |
| Weeks with commits | 26 / 26 | 2 / 26 | 5 / 26 |
| Recent contributors | 8 | 39 | 9 |
| First release | Oct 2013 | Jul 2019 | Nov 2022 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.11 – 3.15 |
| License | Apache-2.0 AND MIT | BSD-3-Clause | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.