A free and secure OTP system with email verification
Project description
PyOTPX - Secure Email OTP Generator
PyOTPX is a fully free, open-source OTP (One-Time Password) generator with email verification.
It allows developers to integrate secure OTP-based authentication into their applications.
🚀 Features
✅ Secure OTP generation (Randomized & Time-based)
✅ Email-based OTP sending (via Gmail SMTP)
✅ Custom OTP expiration time
✅ Lightweight & easy to use
✅ No third-party dependencies
📌 Installation
To install PyOTPX, run:
pip install pyotpx
🔧 Advanced Options
otp_system = OTP(length=8, expiry=600)
ℹ️ EXAMPLE
from pyotpx import OTP, send_otp
otp_system = OTP()
email = "rifatarefinchowdhury@gmail.com"
otp = otp_system.generate(email)
if send_otp(email, otp):
print(f"🔹 OTP sent to {email}")
entered_otp = input("Enter OTP: ")
if otp_system.verify(email, entered_otp):
print("✅ OTP Verified!")
else:
print("❌ Invalid or Expired 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 pyotpx-1.0.0.tar.gz.
File metadata
- Download URL: pyotpx-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
010ae83134aedb3e1701545e31815af6174a00f64d8653f9b7fabb7e74f30e19
|
|
| MD5 |
cc2321ca374c9956ee4958b887f3086b
|
|
| BLAKE2b-256 |
7bca9533e0fd226324bf28b18a265e32e63f24119934cee390154108c3cd1dc1
|
File details
Details for the file pyotpx-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyotpx-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baa0e1055473b6ba307837580254a43cd3cde4d1074c9f5477e92c8bf4c9fc26
|
|
| MD5 |
55194c2636ecd9b284d61084960d05e4
|
|
| BLAKE2b-256 |
f410180bf6fa0626d4cf166d294f8bac2e4417f898a45a69a523211fba6053ce
|