Comparison
device-detector vs django-user-agents vs pymobiledetect 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-detectorA django package that allows easy identification of visitors' browser, operating system and device information (mobile phone, tablet or has touch capabilities).
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install django-user-agentsDetect mobile and tablet browsers
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install pymobiledetectA 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
- django-user-agents looks abandoned: avoid it for new projects.
- pymobiledetect looks abandoned: avoid it for new projects.
- user-agents looks abandoned: avoid it for new projects.
- device-detector is the most used: 137K downloads a month.
- device-detector also has the best Pythie’s Index (68).
- Safe default for a new project: device-detector.
Side by side
| Metric | device-detector | django-user-agents | pymobiledetect | user-agents |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 68 | 21 |