datacheckerpro
Overview
datacheckerpro is a Python package designed to efficiently validate various types of personal data, including:
- Email addresses
- Phone numbers
- Dates
- URLs
This package follows Object-Oriented Programming (OOP) principles, ensuring modularity, reusability, and easy integration into different projects.
Installation
Install the package using:
pip install datacheckerpro
---
## **Usage**
### **1️⃣ Import the Validator Class**
```python
from datacheckerpro.validator import DATAVALIDATOR
2️⃣ Validate an Email
data = "example@email.com"
validator = DATAVALIDATOR(data)
print(validator.validate_email()) # Output: True
3️⃣ Validate a Phone Number
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()
4️⃣ Validate a Date
data = "2024-02-1123"
validator = DATAVALIDATOR(data)
print(validator.validate_date()) # Output: True
5️⃣ Validate a URL
data = "https://google.com"
validator = DATAVALIDATOR(data)
print(validator.validate_url()) # Output: True
Running Tests
The package includes unit tests to ensure proper functionality. Run tests using:
pytest-v
Contributing
Contributions are welcome! To contribute:
- Fork the repository
- Create a feature branch:
git checkout -b featurebranch
- Commit your changes:
git commit -m "Added new feature"
- Push to the branch:
git push origin featurebranch
- Open a Pull Request
License
This project is licensed under the MIT License.
Author
👤 OKOLI OGECHUKWU ABIMBOLA 📧 Email: okoliogechi74@gmail.com
Metadata
Release files for datacheckerpro 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datacheckerpro-0.1.tar.gz | 6.5 kB | Without provenance | Details for datacheckerpro-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datacheckerpro-0.1-py3-none-any.whl | Python 3 | none | any | Details for datacheckerpro-0.1-py3-none-any.whl |
Total release size: 12.3 kB
Release files / datacheckerpro-0.1.tar.gz
| Download URL | datacheckerpro-0.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00e5bf8139ac6e929ffa5a25c5ba77040bb543192aaf303964d4516be9022d90
|
|
BLAKE2b-256 checksum How to use checksums |
1f074d66068add79b6cad750d63eb991d390aed6c309bc1ece15a44b2437b1af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / datacheckerpro-0.1-py3-none-any.whl
| Download URL | datacheckerpro-0.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20e671d40b7bc533c43251dd27713aa046f8f28bdca40e118ad7a3b4eec9c129
|
|
BLAKE2b-256 checksum How to use checksums |
3228ba325b7dad2cbc83d2f80b1b0038b09e0b87d3af3843d6dc0aeaa3a86072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for datacheckerpro 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.