python-validate (valid8)
"valid8ing is not a crime" ;-)
valid8 provides user-friendly tools for 3 kind of "entry points":
- general-purpose inline validation (=anywhere in your code),
- function inputs/outputs validation
- class fields validation.
All these entry points raise consistent ValidationError including user-friendly details, with inheritance of ValueError / TypeError as appropriate. You can customize this error so as to get unique error types convenient for i18n.
The documentation for users is available here: https://smarie.github.io/python-valid8/
A readme for developers is available here: https://github.com/smarie/python-valid8
Metadata
Release files for valid8 5.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| valid8-5.1.2.tar.gz | 881.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| valid8-5.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 945.3 kB
Release files / valid8-5.1.2.tar.gz
| Download URL | valid8-5.1.2.tar.gz |
|---|---|
| Size | 881.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a49bfe4679f92e0bcf6b61453bd1f0cb430044df2c358e85139206c9a98b765
|
|
BLAKE2b-256 checksum How to use checksums |
5d3dc9dd70d764f777176bf4be410bd4edf28eab488174139f77e3bf05564f7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.1
|
Release files / valid8-5.1.2-py2.py3-none-any.whl
| Download URL | valid8-5.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 64.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cb545f1898085a9d0270eba1f0533c51e4c8e999ff397164c805b5c6b7a627a0
|
|
BLAKE2b-256 checksum How to use checksums |
8c06084388bdc0197adbc73feb9a57ea86c46322576a3a3b3ccd4e40485516d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.1
|