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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33b8405890292764cfbd993e71f6d9664c0227f7e7b510b6f9f8a30020da0ae6 |
|
MD5 | 6dc862110976601849a7f190a181fc75 |
|
BLAKE2b-256 | fdaef55de6c80f8e7e2ae7e750cccd6c9c6be89db3df272da1e55b815f33f063 |
Close
Hashes for hestia_earth_validation-0.29.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 435670090a8fbe61b6730d043c629d9d2b62df27e10dfc53ecdd5fdb98488e5f |
|
MD5 | d0ea9409f7dfbef4abba9c0d32f12cd0 |
|
BLAKE2b-256 | 2279f179371308b775c350604f481c5583fbd28c24c2ead6020b63a69f55f955 |