Preparing for system design interviews?  Try bugzed.com →

Python One Time Password Library

JSON →
library 2.9.0 ·python
verified Jun 28, 2026 install

PyOTP is a Python library for generating and verifying one-time passwords, supporting both Time-Based One-Time Passwords (TOTP) from RFC 6238 and HMAC-Based One-Time Passwords (HOTP) from RFC 4226. It is widely used to implement two-factor (2FA) or multi-factor (MFA) authentication in various systems, compatible with apps like Google Authenticator. The library is actively maintained, with its current version being 2.9.0, and follows a regular release cadence.

total hits 23
actors 7 distinct systems
last hit 1d ago AhrefsBot
GPTBot
4
Amazonbot
4
ClaudeBot
4
ChatGPT-User
1
OAI-SearchBot
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇵🇱 Poland · AE