TOTP Generator
Simple Python TOTP code generator that stores TOTP secrets in your keyring.
Install with pip install totp-generator
As of version 3 this requires python 3.7+. Version 2.x is tested to run on python 2.7 - 3.8, however this major version will not receive any updates.
Supported keyrings can be found here. You can also
specify the keyring settings in a config
file. Run totp_generator with the -d flag for the config root path and the current keyring service.
setproctitle is an optional dependency due permission and dependency requirements on some systems. Install with
pip install totp-generator[proctitle] to install this dependancy and enable setting the process name. This feature
is useful for some uses with some keyrings such as the OSX Keychain.
The clipboard function under linux does require xclip with x11 or wl-clipboard with wayland. See https://github.com/spyoungtech/pyclip/tree/main/docs#platform-specific-notesissues
Run totp_generator with the --help flag for more information.
Development
This project uses semantic versioning (major.minor.patch).
Install the test requirements with pip install ".[test]" . Run the tests with pytest (see https://codeberg.org/jjfalling/TOTP-Generator/src/branch/master/.github/workflows/python-tests.yml for command).
To create a new build:
- Bump the version in pyproject.toml and commit
- Create new git tag with version number (no v. prefix)
- Run
python3 -m pip install --upgrade build twine; python -m build - Run
python3 -m twine upload dist/*
Metadata
Release files for TOTP-Generator 3.1.5
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 |
|---|---|---|---|---|
| totp_generator-3.1.5.tar.gz | 22.0 kB | Without provenance | Details for totp_generator-3.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| totp_generator-3.1.5-py3-none-any.whl | Python 3 | none | any | Details for totp_generator-3.1.5-py3-none-any.whl |
Total release size: 43.7 kB
Release files / totp_generator-3.1.5.tar.gz
| Download URL | totp_generator-3.1.5.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ae4d0ea78c7091d34d69265a8e96a8c78e2376232dbb35fa2b2b2bba24618a3
|
|
BLAKE2b-256 checksum How to use checksums |
ee410728df7fdd1ae6d6998989746e8cad5384aa5099902fb6b52d0aa5b52b0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / totp_generator-3.1.5-py3-none-any.whl
| Download URL | totp_generator-3.1.5-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ef9124f3334f7d8022ac74ee5da0fdb0ef68aafbf641977af03842b23c9ff5d
|
|
BLAKE2b-256 checksum How to use checksums |
e571fc28bf172ee3143e8813de36ff719040027096d984c990fac8b5b7f9c9f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for TOTP-Generator 3.1.5
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.