Comparison
aiohttp vs aiosonic vs httpx2 vs Twisted
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 aiohttpAsync HTTP/WebSocket client
Actively maintained. Last release 4 weeks ago, commits in 15 of the last 26 weeks. A safe choice.
pip install aiosonicThe next generation HTTP client.
Actively maintained. Last release 1 day ago, commits in 24 of the last 26 weeks. A safe choice.
pip install httpx2An asynchronous networking framework written in Python
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install twistedIn short
- aiohttp is the most used: 560.9M downloads a month.
- Maintenance is comparable: httpx2 86, aiohttp 83, aiosonic 80, Twisted 79 on Pythie’s Index.
- httpx2 is growing fastest: downloads +39% over the last month.
- httpx2 is the newcomer: first released May 2026.
- Safe default for a new project: aiohttp.
Side by side
| Metric | aiohttp | aiosonic | httpx2 | Twisted |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 80 | Pythie’s Index: 86 | Pythie’s Index: 79 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 560.9M | 587.2K | 478.1M | 13.9M |
| Downloads, month over month | +7% | +17% | +39% | -8% |
| GitHub stars | 16.6K | 169 | 1.7K | 6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 16.3K | 7 | 1.1K | 433 |
| Last release | Oct 11, 2026 | Nov 4, 2026 | Nov 30, 2026 | Oct 30, 2026 |
| Releases, 12 months | 9 | 20 | 25 | 5 |
| Weeks with commits | 26 / 26 | 15 / 26 | 24 / 26 | 26 / 26 |
| Recent contributors | 8 | 3 | 23 | 1 |
| First release | Oct 2013 | Aug 2019 | May 2026 | Oct 2005 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.15 | 3.11 – 3.15 | 3.10 – 3.14 |
| License | Apache-2.0 AND MIT | MIT | BSD-3-Clause | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.