BSD Ports

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

SystemPortVersion
DragonFlydevel/py-user_agents1.0.1_1
FreeBSDdevel/py-user_agents1.0.1_1
HardenedBSDdevel/py-user_agents1.0.1_1
GhostBSDdevel/py-user_agents1.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.