A simple data validation library
Project description
DataValidator
DataValidator is a simple, lightweight Python library for validating various types of data. This library aims to provide easy-to-use validation methods for strings, numbers, emails, dates, lists, and dictionaries.
Features
- String Validation: Validate strings with minimum and maximum length, and optional regex patterns.
- Number Validation: Validate numbers with constraints like minimum and maximum values, integer check, positive or negative checks.
- Email Validation: Validate email addresses with a regex pattern.
- Date Validation: Validate date strings with a specified format.
- List Validation: Validate lists with minimum and maximum lengths and element type checks.
- Dictionary Validation: Validate dictionaries with required keys and key type checks.
Installation
You can install DataValidator using pip. Note that this example assumes the library is published on PyPI.
pip install LegacyDataValidator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file legacydatavalidator-0.1.2.tar.gz.
File metadata
- Download URL: legacydatavalidator-0.1.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddc74fc247cc28d80be9a80aedc2b689a56c23564183a637121a1b642cdb4d2e
|
|
| MD5 |
ceaddd91a05a3cb80d049cc5a6f03059
|
|
| BLAKE2b-256 |
e3402e8657d7944ffd15cd5cae9b30bfca0b89bbb01aef2512ed1c55fc612737
|
File details
Details for the file LegacyDataValidator-0.1.2-py3-none-any.whl.
File metadata
- Download URL: LegacyDataValidator-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
652039d28887d088e835f20f89c463ee31ff1202f519305b72e634ffcb2630a2
|
|
| MD5 |
1cb3d3aba319c1738957c0abf0800110
|
|
| BLAKE2b-256 |
f4d2680ce3cfbba491c4159d7ddfd1b367f2be46aa5d1b8dc91f42d087250375
|