Comparison
device-detector vs httpagentparser vs pymobiledetect vs ua-parser
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-detectorExtracts OS Browser etc information from http user agent string
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install httpagentparserDetect mobile and tablet browsers
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install pymobiledetectPython 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-parserIn short
- pymobiledetect looks abandoned: avoid it for new projects.
- ua-parser is the most used: 22.3M downloads a month, 63× more than httpagentparser.
- device-detector is better maintained: Pythie’s Index 68 against 43.
Side by side
| Metric | device-detector | httpagentparser | pymobiledetect | ua-parser |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 68 | 36 |