Comparison
aiohttp vs aiosonic vs httpx-ws vs starlette
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 aiosonicWebSockets support for HTTPX
Maintained. Last release 3 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install httpx-wsThe little ASGI library that shines.
Actively maintained. Last release 6 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install starletteIn short
- starlette is the most used: 734.3M downloads a month.
- Maintenance is comparable: starlette 89, aiohttp 82, aiosonic 80, httpx-ws 60 on Pythie’s Index.
- aiosonic is growing fastest: downloads +27% over the last month.
- Safe default for a new project: starlette.
Side by side
| Metric | aiohttp | aiosonic | httpx-ws | starlette |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 80 | Pythie’s Index: 60 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 569.3M | 613.9K | 11M | 734.3M |
| Downloads, month over month | +9% | +27% | +6% | +17% |
| GitHub stars | 16.6K | 169 | 151 | 12.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 16.3K | 7 | 46 | 3.2K |
| Last release | Oct 11, 2026 | Nov 4, 2026 | Nov 14, 2026 | Oct 24, 2026 |
| Releases, 12 months | 9 | 20 | 2 | 20 |
| Weeks with commits | 26 / 26 | 15 / 26 | 5 / 26 | 20 / 26 |
| Recent contributors | 6 | 3 | 9 | 34 |
| First release | Oct 2013 | Aug 2019 | Nov 2022 | Jun 2018 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.15 | 3.11 – 3.15 | 3.11 – 3.15 |
| License | Apache-2.0 AND MIT | MIT | MIT | BSD-3-Clause |
| 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.