Comparison
aiohttp vs aiosonic vs geventhttpclient vs grequests
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 aiosonicHTTP client library for gevent
Actively maintained. Last release 2 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install geventhttpclientRequests + Gevent
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install grequestsIn short
- grequests is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- aiohttp is the most used: 560.9M downloads a month, 44× more than geventhttpclient.
- Maintenance is comparable: aiohttp 83, aiosonic 80, geventhttpclient 79 on Pythie’s Index.
- aiosonic is growing fastest: downloads +17% over the last month.
- Safe default for a new project: aiohttp.
Side by side
| Metric | aiohttp | aiosonic | geventhttpclient | grequests |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | 80 |