Skip to main content

datacheckerpro

Overview

dataverifier 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 dataverifier


---

## **Usage**

### **1 Import the Validator Class**
```python
from dataverifier.validator import DATAVALIDATOR

2 Validate an Email

data = "example@gmail.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 from a 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: False

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:

  1. Fork the repository
  2. Create a feature branch:
    git checkout -b featurebranch
    
  3. Commit your changes:
    git commit -m "Added new feature"
    
  4. Push to the branch:
    git push origin featurebranch
    
  5. 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 dataverifier 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataverifier 0.1
File Size Uploaded Provenance Actions
dataverifier-0.1.tar.gz 6.5 kB Without provenance Details for dataverifier-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dataverifier 0.1
File Interpreter ABI Platform Actions
dataverifier-0.1-py3-none-any.whl Python 3 none any Details for dataverifier-0.1-py3-none-any.whl

Total release size: 12.2 kB

Release files / dataverifier-0.1.tar.gz

Download URL dataverifier-0.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7613c6a784b3dff61399612f28899e44ec75de4c9a036bd9ebc5b0a1202f8971
BLAKE2b-256 checksum
How to use checksums
d82264cf323e40277cb7e75c83ea36639ab4ac1b4740a6690e66f692d037fd1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / dataverifier-0.1-py3-none-any.whl

Download URL dataverifier-0.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
993ecf1ddb444bb740972ee9b6e7617fb74086478e1d6d5d5ea110d773e17f5d
BLAKE2b-256 checksum
How to use checksums
7767926bd899c73c51ff6a5061097feac80803a63707f8e2624559219436ab1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for dataverifier 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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page