Comparison
device-detector vs ua-parser vs user-agents
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python3 port of matomo's Device Detector
Maintained. Last release 8 weeks ago, commits in 6 of the last 26 weeks. Weaker on contributor spread and security practices.
$
pip install device-detectorPython port of Browserscope's user agent parser
Maintained. Last release 8 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install ua-parserA library to identify devices (phones, tablets) and their capabilities by parsing browser user agent strings.
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install user-agentsIn short
- user-agents looks abandoned: avoid it for new projects.
- ua-parser is the most used: 22.3M downloads a month, 2.0× more than user-agents.
- device-detector is better maintained: Pythie’s Index 68 against 43.
Side by side
| Metric | device-detector | ua-parser | user-agents |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 68 | Pythie’s Index: 43 | Pythie’s Index: 16 |
| Verdict | Maintained | Maintained | Likely abandoned |
| Downloads / month | 141K | 22.3M | 10.9M |
| Downloads, month over month | -31% | +3% | +1% |
| GitHub stars | 148 | 650 | 1.5K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 5 | 78 | 172 |
| Last release | Oct 8, 2026 | Apr 5, 2026 | Aug 23, 2020 |
| Releases, 12 months | 7 | 1 | 0 |
| Weeks with commits | 6 / 26 | 3 / 26 | 0 / 26 |
| Recent contributors | 9 | 4 | 28 |
| First release | Jun 2018 | Dec 2012 | Jan 2013 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.4 – 3.8 |
| License | unknown | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.