devel/py-user_agents 1.0.1_1 DragonFly
Python library to identify devices using User-Agent string
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- devel, python
- Package size
- 14.5 KiB, 88.4 KiB installed
Description
user_agents is a Python library that provides an easy way to identify/detect devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings. The goal is to reliably detect whether:
-- User agent is a mobile, tablet or PC based device -- User agent has touch capabilities (has touch screen)
user_agents relies on the excellent ua-parser to do the actual parsing of the raw user agent string.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-user_agents | 1.0.1_1 |
| FreeBSD | devel/py-user_agents | 1.0.1_1 |
| HardenedBSD | devel/py-user_agents | 1.0.1_1 |
| GhostBSD | devel/py-user_agents | 1.0.1_1 |
Install
Binary package:
pkg install py311-user_agents
From DPorts:
cd /usr/dports/devel/py-user_agents && make install clean
Dependencies
Run dependencies 2
No port depends on this one.