Minimal TOTP (Time-based One-Time Password) generator library. Current version 0.3.0. No known release cadence; last updated 2021.
pip install mintotpVerified import paths — ran on the pinned version, not inferred.
Generate and verify TOTP codes using a base32 secret.
Use a base32 encoder like `base64.b32encode(key_bytes)` to convert your secret.
Use `int(time.time())` for current time. If using a different step, pass as third argument.
Ensure the secret has proper base32 padding (e.g., add '=' characters if needed).
Use `mintotp.totp(secret)` instead of `mintotp.generate(secret)`.
No dependency data recorded yet.