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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67da9a38f078692a732f8b3059361c2b4312aa9a45926f204c27ce07462da6aa |
|
MD5 | cb164089812dea9ebc042e66b6a47a5d |
|
BLAKE2b-256 | ff20a880381daf9dcc729dc6476596cceba9683994fc9face9d735b54314b36d |
Close
Hashes for hestia_earth_validation-0.28.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c5b6d791ec4db23c9b4c2fbb00e82c1d1f567fea7c7cd261f4efd1966c39ed |
|
MD5 | 5a0a58d8cbd302b24e3ae623b3a65e42 |
|
BLAKE2b-256 | b4e1c441f0876915af8b69f117953e49dc4aa559fd894e1d616a877b547ee837 |