Hestia Data Validation library
Project description
Hestia Data Validation
Install
pip install hestia_earth.validation
Usage
from hestia_earth.validation import validate
# for each node, this will return a list containing all the errors/warnings (empty list if no errors/warnings)
errors = validate(nodes)
Note: if you want to validate existing data (with @type
and @id
fields), please set the following environment variable:
VALIDATE_EXISTING_NODES=true
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
Close
Hashes for hestia-earth-validation-0.10.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f0e70da551cb2247befcfb55ab2266249905e21560a624cb6c01d2d050c247 |
|
MD5 | 7675c2e978fd987cbadf3d7a3b91c5ed |
|
BLAKE2b-256 | 4dd8e2403ab3098b359a32e3701b85cb0fde3084e7da71faf248a5d1bf176453 |
Close
Hashes for hestia_earth_validation-0.10.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e08a3a8f53ad72c4959ddb3d2031dc6ac1cd10dbe312cf6a52958d0fd1fb1af |
|
MD5 | 2f4353e47a08935616adf0e42c9cd174 |
|
BLAKE2b-256 | 9a5cf00c78bd3cfb1ed72366d50d24ad1584df4a839c7f450a87669ff75dfc46 |