
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
A simple datavalidator for validating email, phone numbers, dates, and URLs.
validate-data-pro is a Python package designed to efficiently validate various types of personal data, including:
This package follows Object-Oriented Programming (OOP) principles, ensuring modularity, reusability, and easy integration into different projects.
Install the package using:
pip install validate-data-pro==0.1
---
## **Usage**
### **1️⃣ Import the Validator Class**
```python
from validate-data-pro.validator import DATAVALIDATOR
data = "example@email.com"
validator = DATAVALIDATOR(data)
print(validator.validate_email()) # Output: True
data = "+1-832-005-3034"
validator = DATAVALIDATOR(data)
print(validator.validate_phone()) # Output: True
To check if a number if froma particular contitnent , you can do this
data = "+234901245890"
validator = DATAVALIDATOR(data)
print(validator.african_numbers()) #output :True
repeat for other continents by simply calling the method continentname_numbers()
data = "2024-02-1123"
validator = DATAVALIDATOR(data)
print(validator.validate_date()) # Output: True
data = "https://google.com"
validator = DATAVALIDATOR(data)
print(validator.validate_url()) # Output: True
The package includes unit tests to ensure proper functionality. Run tests using:
pytest tests/
Contributions are welcome! To contribute:
git checkout -b featurebranch
git commit -m "Added new feature"
git push origin featurebranch
This project is licensed under the MIT License.
👤 OKOLI OGECHUKWU ABIMBOLA 📧 Email: okoliogechi74@gmail.com
---# Data-Epic-data-validator-ogechukwu-okoli
FAQs
A simple datavalidator for validating email, phone numbers, dates, and URLs.
We found that validate-data-pro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.