Skip to main content

One-time password generator

Project description

https://img.shields.io/pypi/v/oathtool.svg https://img.shields.io/pypi/pyversions/oathtool.svg https://dev.azure.com/jaraco/oathtool/_apis/build/status/jaraco.oathtool?branchName=master https://img.shields.io/travis/jaraco/oathtool/master.svg Code style: Black

TOTP code generator based on oathtool.

Usage

Command-line:

$ python -m oathtool $key

API:

>>> oathtool.generate_otp(key)

Create standalone script (Unix):

$ python -m oathtool.generate-script
$ ./oathtool $key

Don’t want to install oathtool, but just want the script? Use pip-run:

$ pip-run oathtool -- -m oathtool.generate-script
$ ./oathtool $key

generate-script also takes an arbitrary target path in case you wish to generate the script elsewhere:

$ python -m oathtool.generate-script ~/bin/my-oathtool

Project details


Download files

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

Files for oathtool, version 2.2.0
Filename, size File type Python version Upload date Hashes
Filename, size oathtool-2.2.0-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size oathtool-2.2.0.tar.gz (37.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page