Yubico Python Client
Python class for verifying Yubico One Time Passwords (OTPs) based on the validation protocol version 2.0.
- Yubico website: http://www.yubico.com
- Yubico documentation: http://www.yubico.com/developers/intro/
- Validation Protocol Version 2.0 description: https://developers.yubico.com/yubikey-val/Validation_Protocol_V2.0.html
For more information and usage examples, please see the. documentation.
Documentation is available at https://yubico-client.readthedocs.org/en/latest/
$ 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.
Quick Start / Usage
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/.
Supported Python Versions
- Python 2.7
- Python 3.4
- Python 3.5
- Python 3.6
- Python 3.7
- Python 3.8
- PyPy 2
- PyPy 3
To run the tests use the tox command. This will automatically run the tests on all the supported Python versions.
Yubico Client is distributed under the 3-Clause BSD License.