semvec/pypi-packages huggingface dataset:
user-agent-rs 0.1.2
User-Agent generator
License: MIT License
Keywords: user agent browser navigator

==========
user_agent
==========

.. image:: https://travis-ci.org/lorien/user_agent.png?branch=master
    :target: https://travis-ci.org/lorien/user_agent?branch=master

.. image:: https://ci.appveyor.com/api/projects/status/jbyd2b9dfq99fvs3
    :target: https://ci.appveyor.com/project/lorien/user-agent

.. image:: https://readthedocs.org/projects/user_agent/badge/?version=latest
    :target: http://user-agent.readthedocs.org


What is user_agent module for?
-------------------------------

This module is for generating random, valid web user agents:

* content of "User-Agent" HTTP headers
* content of `window.navigator` JavaScript object


Usage Example
-------------

.. code:: python

    >>> from user_agent_rs import generate_user_agent
    >>> generate_user_agent()
    'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.3; Win64; x64)'

    >>> generate_user_agent('Opera')
    'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:36.0) Gecko/20100101 Firefox/36.0'


Installation
------------

.. code:: shell

    $ pip install -U user_agent


Documentation
-------------

Documentation is available at http://user-agent.readthedocs.org


Contribution
============

Use github to submit bug,fix or wish request: https://github.com/lorien/user_agent/issues