Alternatives

Here are some other OTP related libraries.


If you don’t like otpauth, you might like these.

pyca/cryptography

cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions.

PyOTP

PyOTP is a Python library for generating and verifying one-time passwords.