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.28.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa02f9545f93662d0a496a3cd5b61c18e297373aa230824977521da618b9b0c2 |
|
MD5 | 48b2ae48e43872262cf5a38f8ee52e5c |
|
BLAKE2b-256 | 75ef3af4fa38c6c369e20a77a8b8b11b16658fbb74eb7752ff84dc99e245ea6b |
Close
Hashes for hestia_earth_validation-0.28.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416129a6597bcf32c1d92b1040ab0777503ded5dbcc972f347271151fbe4e0eb |
|
MD5 | e7099529ecabc0a6bc29259db02b288c |
|
BLAKE2b-256 | df65fcc9983ffbea94e64fec57ae86be4a4d4649ddebc42e48b35f78e96e235b |