Python One Time Password Library

JSON →
library 2.9.0 ·python
verified Jun 9, 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 6 distinct systems
last hit 1d ago GPTBot
GPTBot
4
MetaBot
4
Script
2
Humans
6

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇬🇧 United Kingdom