Skip to main content

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

🔧 EXAMPLE

from pyotpx import OTP, send_otp

otp_system = OTP()

email = "mail@example.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyotpx-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyotpx-1.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pyotpx-1.0.1.tar.gz.

File metadata

  • Download URL: pyotpx-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for pyotpx-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a8aad5c490c2db72c8d257aba4e721c3e2cd17e5fcd15b1795ab4397e59aea50
MD5 c5b0790b864c4ec7ab7b7299a6192af2
BLAKE2b-256 cac9dea416a14111acaeda669b5c927c72cd84bf52057fd4898dc82e0eed8a83

See more details on using hashes here.

File details

Details for the file pyotpx-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyotpx-1.0.1-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

Hashes for pyotpx-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4d838ba9e121eda2091c73a31392ce743e04e6bc48df99f4895ae3c50fba8da
MD5 702ef286566a65b49f704792536b9a7f
BLAKE2b-256 24f3301f073c26cf80051bebe145d84991af3463c336a71c92b4ee8fead10c30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page