fast, powerful, and flexible validator with sane syntax
Project description
ValidX
ValidX is fast, powerful, and flexible validator with sane syntax.
from validx import Dict, Str
schema = Dict({"message": Str()})
data = {"message": "ValidX is cool!"}
print(schema(data))
{'message': 'ValidX is cool!'}
The full documentation is available at Read the Docs.
Changes
0.2
Added support of timezones into Date and Datetime validators.
Added support of custom parsers into Date, Time, and Datetime validators.
Added Type validator for custom types.
0.1
Initial release.
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 Distributions
File details
Details for the file ValidX-0.2.tar.gz
.
File metadata
- Download URL: ValidX-0.2.tar.gz
- Upload date:
- Size: 536.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3f30f28af91518b0c1ec26bbbd0bde6581050d24d23ca225262fe397aefa9fb |
|
MD5 | 5a4b23c5fcecc83bdbd2166135f0a33f |
|
BLAKE2b-256 | eaf125004f5cbcd2520d9552e9468c94acf85b392dd84a79582eb8ba0b99bc70 |
File details
Details for the file ValidX-0.2-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd1b95b03d65741f0e91e209f1d92017fdd56a21c00ffa9e1bbfa56b0ea0a66 |
|
MD5 | bf027d6318c04b85c097ab6202c44e97 |
|
BLAKE2b-256 | 5e83f9d47af75ee13475ecf4644911290467674135a84ae6b2fcf6c2e4aafa9a |
File details
Details for the file ValidX-0.2-cp37-cp37m-manylinux1_i686.whl
.
File metadata
- Download URL: ValidX-0.2-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c21c952ffff2198cfedeaf9662337ca0461197f8d4778c87aa10bae0df18f5 |
|
MD5 | 6104564d2e018d4de2ad0b82f4d57f49 |
|
BLAKE2b-256 | 5fc09d540a3474de8ac64babc7e1462cbd0698ac7b8cf5632bb48d171afafc2f |
File details
Details for the file ValidX-0.2-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 396.6 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66f8c6ad71ec61322a8cf84234d1eebff48513670086001ab69d34699b8c1b9e |
|
MD5 | 9cd4960a64e00e1c1d6ade32ccdb4453 |
|
BLAKE2b-256 | dc8e5d06d8d817a9596a6eba4b08d4a363b1b62337bddd55691a21e8c4462305 |
File details
Details for the file ValidX-0.2-cp37-cp37m-macosx_10_6_intel.whl
.
File metadata
- Download URL: ValidX-0.2-cp37-cp37m-macosx_10_6_intel.whl
- Upload date:
- Size: 740.6 kB
- Tags: CPython 3.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c261fb440ab46608e87ac40282e201d74fddb8043cfacd9a1af78a5a6f2811d5 |
|
MD5 | e8181d546f9c3cbb1a785fd915dff948 |
|
BLAKE2b-256 | 1fa5599f9c0cc3a71573149b9140d6e43e90e5e1b4d76510876e88bf476ba0cc |
File details
Details for the file ValidX-0.2-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc7c5487874454c9e6bd053e3eb0ad0b915bb0457214f1ebe8d7b60ea0960b5 |
|
MD5 | 27dcb07bef88f5565ec398f43188adf3 |
|
BLAKE2b-256 | ff07f8189c8c9634c5352e3e4bb5340218c24223fb48b57c285e3dfbff8a3356 |
File details
Details for the file ValidX-0.2-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: ValidX-0.2-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 596393833268dec305d3bb7019301716ac31f8f83b8744c482967b3a3575e3f1 |
|
MD5 | 0bc1cdb190d03ddafaf995791902a81c |
|
BLAKE2b-256 | 18968ce3c58eaf4e4414c42f184edd2c7133f8defc5dd8ff1375c13f76fd559a |
File details
Details for the file ValidX-0.2-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 396.7 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700cc5ac5f849ae4b101945c53a324935cd6309b13f5b43278d764b0c3800d6b |
|
MD5 | a3b30324765ac82c042a1901f3189354 |
|
BLAKE2b-256 | b3328b52e89e403a0b72b338dd9d2f06ec2a1e8fc396b1e860d04cbf0f294f47 |
File details
Details for the file ValidX-0.2-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: ValidX-0.2-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 740.5 kB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d427be848ab82ecc35d530d7afbc4a2dcc77c18cec24f01c586653d8805aa098 |
|
MD5 | 098200a05a1fe1274d1e6e8f7cc7ec7b |
|
BLAKE2b-256 | 6d1d1412883c87a3efd6422a04801fe63b89f7baa1d9e525d01954c2874f42c7 |
File details
Details for the file ValidX-0.2-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09982354140af36b892f00eb2046afc292396696b20941d056d3409d459c72ac |
|
MD5 | e75f8b1747b95157486aaa0885108648 |
|
BLAKE2b-256 | a8d5d891acab1a032930bec42ecee735f9275c7a85bc28fd34c657c95a977707 |
File details
Details for the file ValidX-0.2-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: ValidX-0.2-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ca036e3f995d2eb7dd3852b76957a5bb8f6e2cde8da10103dfb3a057811a36 |
|
MD5 | 741b9c6e4ab3a313111722dba0bc6034 |
|
BLAKE2b-256 | a7d4e48f25b83254b9001df971196ccc2107173b253080d395816a1f573de036 |
File details
Details for the file ValidX-0.2-cp35-cp35m-macosx_10_6_intel.whl
.
File metadata
- Download URL: ValidX-0.2-cp35-cp35m-macosx_10_6_intel.whl
- Upload date:
- Size: 714.9 kB
- Tags: CPython 3.5m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65b2368045c18da0937aeb7d99a98d3acde2b6b70604705e2e19dacab5074a53 |
|
MD5 | 65301a97702c990681d7cb819f5f8ebb |
|
BLAKE2b-256 | 7a2046890add6703d0465ed428b6f7ca8ac5d7e32b63e7c7c2ec1606092da0f4 |
File details
Details for the file ValidX-0.2-cp35-cp35m-macosx_10_5_fat.whl
.
File metadata
- Download URL: ValidX-0.2-cp35-cp35m-macosx_10_5_fat.whl
- Upload date:
- Size: 361.8 kB
- Tags: CPython 3.5m, macOS 10.5+ fat
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1421f8febfe6a58c8e7dab71a74ed5af02e445646643b5dbccee2a1b05ebae6 |
|
MD5 | fa13452d8bed00b586ddef2dd2d7e08b |
|
BLAKE2b-256 | 221b8419479cae6f3321c1170eb384fa3329eb581aa928d15cfbe3e1cab6d83d |
File details
Details for the file ValidX-0.2-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 221aeacef5bfc2d0a9b325a279b7c0aedda835706246a9ee6df95f3f213fa320 |
|
MD5 | 519c54ad174fa27e3107795b27ecfa3f |
|
BLAKE2b-256 | 5bc1c2602d1dcd69eff530c8de9530ce3b026ad53272c1b858524c8dfe3f077f |
File details
Details for the file ValidX-0.2-cp34-cp34m-manylinux1_i686.whl
.
File metadata
- Download URL: ValidX-0.2-cp34-cp34m-manylinux1_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1141d7651739d1cc3c8b67b8884b4d5cc5b4211edb8ffbc83b0ec6ebcec082f |
|
MD5 | 32bd331753f853acd7e41478673f3e16 |
|
BLAKE2b-256 | e94194e7164e9db317586679885d80d429c0afd6509877b5ae25ae8942ce4b97 |
File details
Details for the file ValidX-0.2-cp34-cp34m-macosx_10_6_intel.whl
.
File metadata
- Download URL: ValidX-0.2-cp34-cp34m-macosx_10_6_intel.whl
- Upload date:
- Size: 706.7 kB
- Tags: CPython 3.4m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0333e59c72f03bad2fbf40c8c2034c6893adf123196fece5f743a5bf9b0d1ab |
|
MD5 | 9b496681d7867ce668265c8144b9bf20 |
|
BLAKE2b-256 | 6777c313f4da957934d9741a7502f2635f7f5ee671c237792a93e98fd6d16d79 |
File details
Details for the file ValidX-0.2-cp34-cp34m-macosx_10_5_fat.whl
.
File metadata
- Download URL: ValidX-0.2-cp34-cp34m-macosx_10_5_fat.whl
- Upload date:
- Size: 357.5 kB
- Tags: CPython 3.4m, macOS 10.5+ fat
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b5896b59ea848da012e87765e6b24178af007644f44191c831f15282daf6ad |
|
MD5 | 46fab990251b11b73f2db1823d0ae8da |
|
BLAKE2b-256 | 7bb10701a11b072358ebd56cf04325c20261fbbcb350c7d8492a1a39b9aebe18 |
File details
Details for the file ValidX-0.2-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58b64477d117dd68026cc3a1af03b669e4be11c7807d1cd94c7498df0dd875b |
|
MD5 | bb40de77c9aab342bdbb4ab398d51618 |
|
BLAKE2b-256 | e290eac1339413a2633e5c3da03cf0be12b2cd9ab672cccb88a3c0049af610f6 |
File details
Details for the file ValidX-0.2-cp27-cp27mu-manylinux1_i686.whl
.
File metadata
- Download URL: ValidX-0.2-cp27-cp27mu-manylinux1_i686.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab89d60c50fc9146b24f08a1a684ce5a0c26a643245ca99d97e2cba9d5630c5 |
|
MD5 | 0f5ef9bdf7f1fc6887726250be89afdd |
|
BLAKE2b-256 | 08babc6b7bc4f554a234b6018cefe8eba08d9d1c6dd8acc5a409da085da36e32 |
File details
Details for the file ValidX-0.2-cp27-cp27m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp27-cp27m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74aeff3dee50ffeb76a2604dd1ad4aa5e3d08b595f5565db3cce684a71a85e3e |
|
MD5 | 60bc5d85e7b0e1ed15698599354c20d6 |
|
BLAKE2b-256 | 734462bfa3408dbf57e1789dc66500621f64d61c70539ec565c832a0ab5bf5e2 |
File details
Details for the file ValidX-0.2-cp27-cp27m-manylinux1_i686.whl
.
File metadata
- Download URL: ValidX-0.2-cp27-cp27m-manylinux1_i686.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad0264957a0a17009eb44e671412a6f9b0b14d63202500a7a8d9a36469c7c4c |
|
MD5 | 42fbc3106594581ed29bc14abf29cf76 |
|
BLAKE2b-256 | 823d158b8fd9fa0487c021930043e46ff20f45d87edee31e3aa729a627b22b12 |
File details
Details for the file ValidX-0.2-cp27-cp27m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ValidX-0.2-cp27-cp27m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 377.2 kB
- Tags: CPython 2.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ee9075cf6d83f8850e240f2c04ecfdf05376bc0c9b4672842e0b36a84a97d3 |
|
MD5 | 46580316e63d4740d92ee9facfd4cb6c |
|
BLAKE2b-256 | 9c246a888aab3dac9be28273e7e07b87a9bb8de174f8740dcbd1ad37642dea84 |
File details
Details for the file ValidX-0.2-cp27-cp27m-macosx_10_6_intel.whl
.
File metadata
- Download URL: ValidX-0.2-cp27-cp27m-macosx_10_6_intel.whl
- Upload date:
- Size: 698.1 kB
- Tags: CPython 2.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bcf8b22403c3e9e44661d64077c17aedd3ee4ee723b568340fa4a6f8195ceb7 |
|
MD5 | 42d1b2f6b0611fbfc4cda5d34a8eaea2 |
|
BLAKE2b-256 | d4378667d372acf673997b80c9fa50c8d0fb8fd1c5fb57162a18a28f13b2ef93 |