Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

API wrapper for browser-info.net - retrieve UA strings

Project Description

A lightwight python wrapper for browser-info.net to retrieve UA strings

What does browserinfo do?

It allows you to retrieve user agent strings, sorted by popularity or most recent.

Usage example

>>> import browserinfo
>>> browserinfo.recent(1)
['Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36\n']
>>> browserinfo.popular(1)
['Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FSL 7.0.6.01001)']

Installation

Use pip:

pip install -U browserinfo

Building doc

From the root of the directory run:

sphinx-apidoc -o docs/ browserinfo -f && cd docs && make html && cd ..

Building Dist Package

To build a distributable package run:

python setup.py sdist

Release History

This version
History Node

0.2.0

History Node

0.1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
browserinfo-0.2.0.tar.gz
(3.0 kB) Copy SHA256 Hash SHA256
Source None Sep 17, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting