Comparison
aiohttp vs httpx2 vs requests vs treq
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.
Actively maintained. Last release 1 day ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install httpx2Python HTTP for Humans.
Actively maintained. Last release 7 months ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install requestsHigh-level Twisted HTTP Client API
Maintained. Last release 5 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence.
$
pip install treqIn short
- requests is the most used: 1.5B downloads a month, 2.6× more than aiohttp.
- Maintenance is comparable: httpx2 86, aiohttp 83, requests 79, treq 63 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: requests.
Side by side
| Metric | aiohttp | httpx2 | requests | treq |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 86 | Pythie’s Index: 79 | Pythie’s Index: 63 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 560.9M | 478.1M | 1.5B | 222.1K |
| Downloads, month over month | +7% | +39% | +6% | -8% |
| GitHub stars | 16.6K | 1.7K | 54.8K | 604 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 16.3K | 1.1K | 92.8K | 32 |
| Last release | Oct 11, 2026 | Nov 30, 2026 | May 14, 2026 | Jul 2, 2026 |
| Releases, 12 months | 9 | 25 | 6 | 1 |
| Weeks with commits | 26 / 26 | 24 / 26 | 13 / 26 | 7 / 26 |
| Recent contributors | 8 | 23 | 23 | 6 |
| First release | Oct 2013 | May 2026 | Feb 2011 | Dec 2012 |
| Python versions | 3.10 – 3.14 | 3.11 – 3.15 | 3.10 – 3.15 | 3.9 – 3.14 |
| License | Apache-2.0 AND MIT | BSD-3-Clause | Apache-2.0 | 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.