Skip to content
O

Otpauth

Implements two-step verification of HOTP/TOTP. Also known as one time password

by authlibFree

#5334in Utilities
0In stores

Description

otpauth is a Python library for two-step verification. It generates and checks one-time passwords, using HOTP, the counter-based code, and T…

Highlights

  • HOTP and TOTP one-time password generation
  • Verify codes with a single call
  • Type hints for editor support
  • Installs with pip install otpauth
  • Guide, user guide, API reference and changelog

Ratings & Reviews

No ratings yet

Be the first to rate Otpauth.

People also visit

T

Totp RS

RFC-compliant TOTP implementation with ease of use as a goal and additionnal…

Utilities
Launch
A

Authme

Simple cross-platform two-factor (2FA) authenticator app for desktop

Utilities
Launch
F

FreeOTP

Open source implementation of the two-factor authentication HOTP

Developer Tools
Launch
O

Otp.NET

A .NET implementation of TOTP and HOTP

Utilities
Launch
C

Cotp

Encrypted, command-line TOTP/HOTP authenticator app with import functionality

Utilities
Launch
A

Authenticator

Cross Platform TOTP Authenticator App

Utilities
Launch

Otpauth FAQ

What is otpauth used for?

Two-step verification. It generates one-time passwords with HOTP and TOTP and checks the codes a user enters, for Python applications.

How do I install it?

Run pip install otpauth. The library is for Python and is written for modern versions of the language, without Python 2 support.

How do I check a code?

Create a TOTP object with your secret, call generate() for the current code, and call verify() to check a code. Use string_code() if you need the code as a string.

Is there a v1 version?

Yes. The original otpauth is documented at pythonhosted.org. The docs call v1 stable, so you can keep using it.

Where is the source?

On GitHub, under the authlib organisation.

What are the best Otpauth alternatives?

Popular alternatives to Otpauth include Totp RS, Authme and Otp.NET. See all Otpauth alternatives

Developer Stuff

Badges