Metadata-Version: 2.2
Name: pyotpx
Version: 1.0.1
Summary: A free and secure OTP system with email verification
Author: NotHerXenon
Author-email: PyOTPX@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license
Dynamic: summary

# 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:
```bash
pip install pyotpx
```

## 🔧 EXAMPLE

```python
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!")
```
