devel/py-user_agents 1.0.1_1 FreeBSD
Python library to identify devices using User-Agent string
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, python
- Package size
- 15.7 KiB, 83.7 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 |
|---|---|---|
| FreeBSD | devel/py-user_agents | 1.0.1_1 |
| DragonFly | devel/py-user_agents | 1.0.1_1 |
Install
Binary package:
pkg install py312-user_agents
From the ports tree:
cd /usr/ports/devel/py-user_agents/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-user_agents>0:devel/py-user_agents
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.1_1 | 1.0.1_1 | 1.0.1 | 1.0.1_1 | 1.0.1_1 |
| FreeBSD:14:quarterly | 1.0.1_1 | 1.0.1_1 | n/a | 1.0.1_1 | 1.0.1_1 |
| FreeBSD:15:latest | 1.0.1_1 | 1.0.1_1 | n/a | 1.0.1_1 | 1.0.1_1 |
| FreeBSD:15:quarterly | 1.0.1_1 | 1.0.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.1_1 | 1.0.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_SITELIBDIR}/ua_parser/__init__.py: devel/py-ua_parser
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 11
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| user-agents-1.0.1.tar.gz | 10544 | b5976d971e9e55ec8d80f6c6428f6de5de1467844a0d37184b5ee5e40929e939 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.