Skip to main content

User-Agent generator

Project description

https://travis-ci.org/lorien/user_agent.png?branch=master https://img.shields.io/pypi/dm/user_agent.svg https://img.shields.io/pypi/v/user_agent.svg

What is user_agent library for?

Well, it is for generating content of content of User-Agent header.

Usage Example

>>> from user_agent import generate_user_agent
>>> generate_user_agent(platform='linux')
'Mozilla/5.0 (X11; Ubuntu; Linux i686 on x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'

Installation

Use pip:

$ pip install -U user_agent

Contribution

Use github to submit bug,fix or wish request: https://github.com/lorien/user_agent/issues

Project details


Download files

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

Source Distribution

user_agent-0.0.5.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page