Python One Time Password Library
JSON →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.
Traffic · last 30 days ↑20% vs prev 7d
total hits 23
actors 6 distinct systems
last hit 1d ago GPTBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇬🇧 United Kingdom
Resources
packagepypi.org/project/pyotp/ ↗
API endpoints
full doc /v1/registry/pyotp
install /v1/registry/pyotp/install
compatibility /v1/registry/pyotp/compatibility