A simple TOTP + QR code generator package for 2FA
Project description
Allsafe OTP
Allsafe OTP is a simple Python library for generating secure, time-based (TOTP) and counter-based (HOTP) one-time passwords (OTPs) for multi-factor authentication (MFA) systems. The library is designed for easy integration into Python-based applications, including Django apps.
Features:
- TOTP (Time-based One-Time Password): Generate OTPs that expire after a set time interval.
- HOTP (Counter-based One-Time Password): Generate OTPs based on a moving counter.
- Secure: Uses HMAC-SHA1 for OTP generation.
- Flexible: Can be used in any Python application.
- Easy Integration: Compatible with Django and other Python frameworks.
Installation:
pip install allsafe-otp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allsafe_otp-0.1.tar.gz.
File metadata
- Download URL: allsafe_otp-0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63ba1c82ce0cde9997964538e14e21aceb94a3c68044091761a94a6f7f18d741
|
|
| MD5 |
373107c810f33f38ec010396ca66ea80
|
|
| BLAKE2b-256 |
00343039f495f84e0f17e9303a9f9c4a0313d917aff512630c0e13d6a180a272
|
File details
Details for the file allsafe_otp-0.1-py3-none-any.whl.
File metadata
- Download URL: allsafe_otp-0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc56bc3f29130a6f046ff5c29ebff88f568aa4587f9ab178749762aa4674b848
|
|
| MD5 |
8066ceeabadd599de83bcb7a0729fe29
|
|
| BLAKE2b-256 |
96a2aac4d9f9807b883db05c59f7b17394408f68e6f8dd32427eb6f9fddeefc6
|