Here are some other OTP related libraries.
If you don’t like
otpauth, you might like these.
cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions.
Author: Python Cryptographic Authority
PyOTP is a Python library for generating and verifying one-time passwords.