Comparison
curl-cffi vs httpx2 vs impit vs primp
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
libcurl ffi bindings for Python, with impersonation support.
Actively maintained. Last release 2 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install curl-cffiThe next generation HTTP client.
Actively maintained. Last release 1 day ago, commits in 24 of the last 26 weeks. A safe choice.
pip install httpx2A library for making HTTP requests through browser impersonation
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install impitHTTP client that can impersonate web browsers
Maintained. Last release 3 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install primpIn short
- httpx2 is the most used: 478.1M downloads a month, 14× more than curl-cffi.
- Maintenance is comparable: impit 92, curl-cffi 88, httpx2 86, primp 62 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 | curl-cffi | httpx2 | impit | primp |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 86 | Pythie’s Index: 92 | Pythie’s Index: 62 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 34.3M | 478.1M | 2.6M | 11M |
| Downloads, month over month | +4% | +39% | -1% | +6% |
| GitHub stars | 6.9K | 1.7K | 651 | 639 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 953 | 1.1K | 7 | 33 |
| Last release | Nov 29, 2026 | Nov 30, 2026 | Nov 11, 2026 | Sep 13, 2026 |
| Releases, 12 months | 27 | 25 | 11 | 7 |
| Weeks with commits | 20 / 26 | 24 / 26 | 26 / 26 | 2 / 26 |
| Recent contributors | 23 | 23 | 14 | 1 |
| First release | Jan 2023 | May 2026 | Jan 2025 | Jul 2024 |
| Python versions | 3.10 – 3.14 | 3.11 – 3.15 | 3.10 – 3.15 | 3.10 – 3.14 |
| License | MIT | BSD-3-Clause | non-standard | 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.