Library for data validation
Project description
Validat
Validat is a Python library for data validation. It provides a simple and flexible way to validate data structures, ensuring that your data meets the required criteria.
Features
- Easy to use and integrate
- Supports various data types and structures
- Customizable validation rules
- Detailed error messages
Installation
You can install Validat using pip:
pip install validat
Usage
Here's a basic example of how to use Validat:
import validat
correct_email = "username@example.com"
is_valid = validat.validate_email(correct_email)
print(is_valid) # True
wrong_email = "username@@example.com"
is_valid = validat.validate_email(wrong_email)
print(is_valid) # False
Documentation
For more detailed information, please refer to the official documentation.
Project details
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 validat-0.0.5.tar.gz.
File metadata
- Download URL: validat-0.0.5.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b246081a06e34a005fe93b75acc1c7deed9efeef85f904e573452b4eb7306300
|
|
| MD5 |
fab6a951b2fda2d3e2b819503c719449
|
|
| BLAKE2b-256 |
9caf4641acc50acc0e95d2cf7d719558c0a321ce1bd6eb668c7b0f975ac2c876
|
Provenance
The following attestation bundles were made for validat-0.0.5.tar.gz:
Publisher:
publish.yml on AliakseiYafremau/validat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
validat-0.0.5.tar.gz -
Subject digest:
b246081a06e34a005fe93b75acc1c7deed9efeef85f904e573452b4eb7306300 - Sigstore transparency entry: 179177429
- Sigstore integration time:
-
Permalink:
AliakseiYafremau/validat@d2d5d0b6c8464445e4afb4b7ea89e16fdc9c6ad2 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/AliakseiYafremau
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d2d5d0b6c8464445e4afb4b7ea89e16fdc9c6ad2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file validat-0.0.5-py3-none-any.whl.
File metadata
- Download URL: validat-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc50296b20b3260e2b1a1caa5836bade216fa770ebcc0a24a3b614f94c2a7da3
|
|
| MD5 |
0c7a0debd9624f3f6bfed13e99dbf7eb
|
|
| BLAKE2b-256 |
566b69effe874e7ce065eb976f5dd44716195180a6d11eca676b00b7a415fb9f
|
Provenance
The following attestation bundles were made for validat-0.0.5-py3-none-any.whl:
Publisher:
publish.yml on AliakseiYafremau/validat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
validat-0.0.5-py3-none-any.whl -
Subject digest:
fc50296b20b3260e2b1a1caa5836bade216fa770ebcc0a24a3b614f94c2a7da3 - Sigstore transparency entry: 179177430
- Sigstore integration time:
-
Permalink:
AliakseiYafremau/validat@d2d5d0b6c8464445e4afb4b7ea89e16fdc9c6ad2 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/AliakseiYafremau
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d2d5d0b6c8464445e4afb4b7ea89e16fdc9c6ad2 -
Trigger Event:
release
-
Statement type: