Skip to content

Kami/python-yubico-client

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Yubico Python Client

https://secure.travis-ci.org/Kami/python-yubico-client.png?branch=master

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.

Documentation

Documentation is available at https://yubico-client.readthedocs.org/en/latest/

Installation

$ 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

Running Tests

To run the tests use the tox command. This will automatically run the tests on all the supported Python versions.

$ tox

License

Yubico Client is distributed under the 3-Clause BSD License.

About

Python library for validating Yubico Yubikey One Time Passwords (OTPs) based on the validation protocol version 2.0.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages