Web lists-archives.com

Bug#892190: ITP: python-user-agents -- A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.




Package: wnpp
Severity: wishlist
Owner: Andre Bianchi <drebs@xxxxxxxxxx>
Control: block 745661 by -1
Control: block 796777 by -1

* Package name    : python-user-agents
  Version         : 1.1.0
  Upstream Author : Selwin Ong, Loisaida Sam Sandberg
* URL             : https://pypi.python.org/pypi/user-agents
* License         : MIT
  Programming Lang: Python
  Description     : A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.

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/HTTP) 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 ua-parser <https://github.com/tobie/ua-parser>_ to
do the actual parsing of the raw user agent string.

This is a dependency for Weblate (https://weblate.org/):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745661
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796777

The idea is to maintain it inside the Debian Python Modules Team.
Everyone is welcome to help. :)