One-time password generator
Project description
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
Or install with pipx:
$ pipx install oathtool $ oathtool $key
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oathtool-2.4.0.tar.gz.
File metadata
- Download URL: oathtool-2.4.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c0dc143d8ddf4805f0b000a8af78661a480f847f647c6cc403b407d9671138
|
|
| MD5 |
f7b38779cb8f7ef2ac5e9a5593806338
|
|
| BLAKE2b-256 |
3680d3a48e04d3092c3bbc88975d0a04974d0d9d3bd11b171e7fb45ea31974b4
|
File details
Details for the file oathtool-2.4.0-py3-none-any.whl.
File metadata
- Download URL: oathtool-2.4.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b49e35c220e591541e656dfd775cfabdb35e5664b1d0823b43f136510aeceb9
|
|
| MD5 |
fdf7dff976680f1b9d9b756e0ffed024
|
|
| BLAKE2b-256 |
7d778037c321fd2931bbd6ed654a3d083e06ac28adec680bffb001a624e844d7
|