Python 2FA

Open-source Python projects categorized as 2FA

Top 15 Python 2FA Projects

  • pyotp

    Python One-Time Password Library

  • Project mention: django authentication , login with otp | /r/django | 2023-07-06

    Can’t you just use a HOPT/TOPT so the user can scan a QR code with e.g google authenticator? Check https://github.com/pyauth/pyotp for more information

  • privacyIDEA

    :closed_lock_with_key: multi factor authentication system (2FA, MFA, OTP Server)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mintotp

    Minimal TOTP generator in 20 lines of Python

  • Project mention: PyPI announces mandatory use of 2FA for all software publishers | /r/programming | 2023-05-30

    Huh? Who is saying you need a smartphone? PyPi accepts TOTP as 2FA. TOTP is an open standard that has been around for at least a decade already and is very easy to implement, literally 20 lines of python. There are a ton of TOTP applications available, from CLI, to GUI on desktop systems, to Android apps, iOS, etc. If you have any device, be it a computer, phone, tablet, etc., which you do since you need one to publish the code from, you can easily generate TOTP codes. Heck, you could even do it by a hand on a paper.

  • aws-mfa

    Manage AWS MFA Security Credentials

  • extract_otp_secrets

    Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.

  • Project mention: Show HN: AuthWin – Authenticator App for Windows | news.ycombinator.com | 2024-03-03

    This library uses the GPL v3 license: https://github.com/scito/extract_otp_secrets?tab=GPL-3.0-1-o...

    Your options are to either go open-source or remove the library.

  • django-trench

    django-trench provides a set of REST API endpoints to supplement django-rest-framework with multi-factor authentication (MFA, 2FA). It supports both standard built-in authentication methods, as well as JWT (JSON Web Token).

  • Project mention: How can I implement 2FA with Django REST Framework? | /r/django | 2023-09-29

    I found the django-trench 2FA package, which is specifically designed to work with the Django REST Framework. But it doesn't support Django 4.x.

  • python-bna

    Python implementation of the mobile Blizzard Authenticator (TOTP)

  • Project mention: Python implementation of the mobile Blizzard Authenticator (TOTP) | news.ycombinator.com | 2023-10-21
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • voicemailautomator

    A tool that serves as a Proof of Concept for the research I presented at DEF CON 26, "Compromising online accounts by cracking voicemail systems"

  • totp-cli

    A cli-based pass-backed TOTP app. (by WhyNotHugo)

  • kagi

    WebAuthn security keys and TOTP multi-factor authentication for Django

  • apache_2fa

    Apache two-factor (2FA) authentication with Google Authenticator based on Time-based One-Time Password (TOTP) or HMAC-based one-time password (HOTP) Algorithms.

  • aws-missing-tools

    Random tools I've written to make life easier using AWS, namely aws-choose-profile and aws-mfa-login

  • alfred-ykman-oath

    Alfred workflow for obtaining TOTP codes from a YubiKey

  • Project mention: Show HN: Alfred workflow for Yubikey OATH application (TOTP) | news.ycombinator.com | 2023-07-15
  • TTM

    Terminal TOTP Manager is a command-line tool for managing TOTPs (by The-Robin-Hood)

  • Project mention: Terminal TOTP Manager | /r/pythoncoding | 2023-06-23
  • TOTP_poc

    Time based OTP - Proof of concept

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python 2FA related posts

  • Python implementation of the mobile Blizzard Authenticator (TOTP)

    1 project | news.ycombinator.com | 21 Oct 2023
  • Unlimited Kagi searches for $10 per month

    8 projects | news.ycombinator.com | 21 Sep 2023
  • django authentication , login with otp

    1 project | /r/django | 6 Jul 2023
  • WebAuthn Is Great and It Sucks

    2 projects | news.ycombinator.com | 2 Jul 2023
  • Terminal TOTP Manager

    1 project | /r/pythoncoding | 23 Jun 2023
  • Managing credentials for automated scripts

    1 project | /r/learnpython | 15 Jun 2023
  • Battle.net Authenticator Now Integrated into the Battle.net Mobile App

    1 project | /r/wow | 6 Jun 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source 2FA projects in Python? This list will help you:

Project Stars
1 pyotp 2,831
2 privacyIDEA 1,429
3 mintotp 1,285
4 aws-mfa 1,007
5 extract_otp_secrets 969
6 django-trench 264
7 python-bna 241
8 voicemailautomator 153
9 totp-cli 123
10 kagi 90
11 apache_2fa 70
12 aws-missing-tools 61
13 alfred-ykman-oath 10
14 TTM 2
15 TOTP_poc 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com