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
Metadata
Release files for oathtool 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oathtool-2.4.0.tar.gz | 9.8 kB | Without provenance | Details for oathtool-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oathtool-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for oathtool-2.4.0-py3-none-any.whl |
Total release size: 14.6 kB
Release files / oathtool-2.4.0.tar.gz
| Download URL | oathtool-2.4.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43c0dc143d8ddf4805f0b000a8af78661a480f847f647c6cc403b407d9671138
|
|
BLAKE2b-256 checksum How to use checksums |
3680d3a48e04d3092c3bbc88975d0a04974d0d9d3bd11b171e7fb45ea31974b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / oathtool-2.4.0-py3-none-any.whl
| Download URL | oathtool-2.4.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b49e35c220e591541e656dfd775cfabdb35e5664b1d0823b43f136510aeceb9
|
|
BLAKE2b-256 checksum How to use checksums |
7d778037c321fd2931bbd6ed654a3d083e06ac28adec680bffb001a624e844d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for oathtool 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.