Comparison
httpx vs requests vs urllib3 vs urllib3-future
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The next generation HTTP client.
Maintained. Last release 6 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install httpxPython HTTP for Humans.
Actively maintained. Last release 7 months ago, commits in 14 of the last 26 weeks. A safe choice.
pip install requestsHTTP library with thread-safe connection pooling, file post, and more.
Actively maintained. Last release 3 months ago, commits in 21 of the last 26 weeks. A safe choice.
pip install urllib3urllib3.future is a powerful HTTP 1.1, 2, and 3 client with both sync and async interfaces
Actively maintained. Last release 2 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install urllib3-futureIn short
- urllib3 is the most used: 1.6B downloads a month.
- Maintenance is comparable: urllib3 89, urllib3-future 87, requests 79, httpx 60 on Pythie’s Index.
- httpx is growing fastest: downloads +15% over the last month.
- Safe default for a new project: urllib3.
Side by side
| Metric | httpx | requests | urllib3 | urllib3-future |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | 79 |