Comparison
httplib2 vs httpx2 vs pyreqwest vs treq
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A comprehensive HTTP client library.
Maintained. Last release 5 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity.
$
pip install httplib2The next generation HTTP client.
Actively maintained. Last release 1 day ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install httpx2Powerful and fast Rust based HTTP client
Actively maintained. Last release 4 days ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install pyreqwestHigh-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
- httpx2 is the most used: 478.1M downloads a month, 3.8× more than httplib2.
- Maintenance is comparable: pyreqwest 87, httpx2 86, treq 63, httplib2 58 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: httpx2.
Side by side
| Metric | httplib2 | httpx2 | pyreqwest | treq |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 58 | Pythie’s Index: 86 | Pythie’s Index: 87 | Pythie’s Index: 63 |
| Verdict | Maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 126.9M | 478.1M | 408.9K | 222.1K |
| Downloads, month over month | -1% | +39% | +29% | -8% |
| GitHub stars | 513 | 1.7K | 408 | 604 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 349 | 1.1K | 7 | 32 |
| Last release | Oct 28, 2026 | Nov 30, 2026 | Nov 27, 2026 | Jul 2, 2026 |
| Releases, 12 months | 4 | 25 | 28 | 1 |
| Weeks with commits | 3 / 26 | 24 / 26 | 13 / 26 | 7 / 26 |
| Recent contributors | 28 | 23 | 11 | 6 |
| First release | Mar 2012 | May 2026 | Oct 2025 | Dec 2012 |
| Python versions | – | 3.11 – 3.15 | 3.11 – 3.15 | 3.9 – 3.14 |
| License | 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.