Comparison
fake-headers vs pyuseragents vs ua-generator vs user-agent
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Package for generate headers to http requests.
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install fake-headersA Python module which does one thing: giving you a random User-Agent Header
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pyuseragentsA random user-agent generator
Actively maintained. Last release 2 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install ua-generatorLibrary to build content for User-Agent HTTP header
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install user-agentIn short
- fake-headers looks abandoned: avoid it for new projects.
- pyuseragents looks abandoned: avoid it for new projects.
- ua-generator is the most used: 883.8K downloads a month, 5.8× more than user-agent.
- ua-generator also has the best Pythie’s Index (83).
- ua-generator is growing fastest: downloads +16% over the last month.
- Safe default for a new project: ua-generator.
Side by side
| Metric | fake-headers | pyuseragents | ua-generator | user-agent |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 12 | Pythie’s Index: 83 | Pythie’s Index: 27 |
| Verdict | Likely abandoned | Likely abandoned | Actively maintained | Low maintenance activity |
| Downloads / month | 52.7K | 91.1K | 883.8K | 152.7K |
| Downloads, month over month | -54% | +38% | +16% | +5% |
| GitHub stars | 10 | 4 | 178 | 346 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 35 | 7 | 27 | 91 |
| Last release | Jun 16, 2019 | Mar 21, 2021 | Nov 29, 2026 | Sep 10, 2025 |
| Releases, 12 months | 0 | 0 | 19 | 0 |
| Weeks with commits | – | 0 / 26 | 20 / 26 | 0 / 26 |
| Recent contributors | – | 1 | 3 | 6 |
| First release | Feb 2019 | Mar 2021 | Apr 2022 | Sep 2015 |
| Python versions | 3.7 | – | – | 3.0 – 3.13 |
| License | MIT | MIT | 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.