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 1: if you want to validate existing data (with @type
and @id
fields), please set the following environment variable:
VALIDATE_EXISTING_NODES=true
Note 2: to skip searching for terms using the Hestia API, please enable mocking:
ENABLE_MOCKING=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.29.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0606cb58ae89f3d479b6d99a16a596cc957dd400cd0672b83eedcf38620a848 |
|
MD5 | f3e785cdf2a01df8b549a027f87f36db |
|
BLAKE2b-256 | 424914644ca2af0c8c5f6e2f0d12376d63496d5222c05f7e61485294e1a36e1e |
Close
Hashes for hestia_earth_validation-0.29.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272c3eab3a3ede5d5a5b85c3eeb0506f5df5e2aa1843ec885f7b29776b27c6b3 |
|
MD5 | 07099ee123cb6ee605fc695ae0fd1fb9 |
|
BLAKE2b-256 | 5a5f84f09b862866b9b06f9492442ea15b6cd7e8f301a3f8ab38aa9ec7e3c8ae |