Skip to main content

Utility that generates TOTP codes and stores the TOTP secrets in your system keyring.

Project description

Python Tests codecov

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.

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://github.com/jjfalling/TOTP-Generator/blob/master/.github/workflows/python-tests.yml for command).

To create a new build:

  • Bump the version in totp_generator/__init__.py
  • Run python setup.py upload
  • Add a new Github release with the git tag that setup.py created (same as the new version number).

Project details


Download files

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

Source Distribution

TOTP Generator-3.1.2.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

TOTP_Generator-3.1.2-py2.py3-none-any.whl (21.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page