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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d68e1ac0957d5e31c02f5d3a681c28b61c3cc4764aa615b2411fd7a7530a76 |
|
MD5 | a48b6466545fa0f46bdee061fd7b72eb |
|
BLAKE2b-256 | f94f5acba334d8400cecefe47ef3832c681f255992dc88dac679dcbb560e832d |
Close
Hashes for hestia_earth_validation-0.28.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8750026deaf2cc0b968d7405da7982b6322b2ec2c437fae323ca2915f7ed8d7 |
|
MD5 | ecdb9774582623357d1bb87e5523ea66 |
|
BLAKE2b-256 | 293abfc4cd856108aac430e403cffcc62cd1f6ebfc92db627e93caabe436707e |