Python library for validating Yubico Yubikey One Time Passwords (OTPs) based on the validation protocol version 2.0.
OTHER License
.. image:: https://img.shields.io/pypi/v/yubico-client.svg :target: https://pypi.python.org/pypi/yubico-client/
.. image:: https://img.shields.io/pypi/dm/yubico-client.svg :target: https://pypi.python.org/pypi/yubico-client/
.. image:: https://secure.travis-ci.org/Kami/python-yubico-client.png?branch=master :target: http://travis-ci.org/Kami/python-yubico-client
.. image:: https://img.shields.io/codecov/c/github/Kami/python-yubico-client/master.svg :target: https://codecov.io/github/Kami/python-yubico-client?branch=master
.. image:: https://img.shields.io/pypi/pyversions/yubico-client.svg :target: https://pypi.python.org/pypi/yubico-client/
.. image:: https://img.shields.io/pypi/wheel/yubico-client.svg :target: https://pypi.python.org/pypi/yubico-client/
.. image:: https://img.shields.io/github/license/Kami/python-yubico-client.svg :target: https://github.com/Kami/python-yubico-client/blob/trunk/LICENSE
Python class for verifying Yubico One Time Passwords (OTPs) based on the validation protocol version 2.0.
For more information and usage examples, please see the.
documentation <https://yubico-client.readthedocs.org/en/latest/>
_.
Documentation is available at https://yubico-client.readthedocs.org/en/latest/
.. code-block:: bash
$ pip install yubico-client
Note: Package has been recently renamed from yubico
to yubico-client
and
the main module has been renamed from yubico
to yubico_client
. This
was done to avoid naming conflicts and make creation of distribution specific
packages easier.
.. code-block:: python
from yubico_client import Yubico
client = Yubico('client id', 'secret key')
client.verify('otp')
For more information and detailed examples, please refer to the documentation - https://yubico-client.readthedocs.io/en/latest/.
To run the tests use the tox command. This will automatically run the tests on all the supported Python versions.
.. code-block:: bash
$ tox
Yubico Client is distributed under the 3-Clause BSD License
_.
.. _3-Clause BSD License
: http://opensource.org/licenses/BSD-3-Clause