Comparison
aiohttp vs httpx vs sanic
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 4 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
$
pip install httpxA web server and web framework that's written to go fast. Build fast. Run fast.
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install sanicIn short
- httpx is the most used: 832.8M downloads a month.
- aiohttp is better maintained: Pythie’s Index 83 against 60.
- httpx is growing fastest: downloads +14% over the last month.
- Safe default for a new project: httpx, or aiohttp if active maintenance matters most.
Side by side
| Metric | aiohttp | httpx | sanic |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 60 | Pythie’s Index: 41 |
| Verdict | Actively maintained | Maintained | Maintained |
| Downloads / month | 568.6M | 832.8M | 1.1M |
| Downloads, month over month | +8% | +14% | +3% |
| GitHub stars | 16.6K | 15.9K | 18.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 16.3K | 37 | 234 |
| Last release | Oct 11, 2026 | Nov 26, 2026 | May 31, 2026 |
| Releases, 12 months | 9 | 4 | 3 |
| Weeks with commits | 26 / 26 | 2 / 26 | 1 / 26 |
| Recent contributors | 7 | 39 | 32 |
| First release | Oct 2013 | Jul 2019 | Oct 2016 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.10 – 3.14 |
| 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.