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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0a0f7ee1f6b1d1f13e7a97c2ea46ad44eece05b468bbe2b3a996727aef51aa |
|
MD5 | 606e7db0bfd2444df340b2c7d83d3307 |
|
BLAKE2b-256 | 75f6d84515122a30b6f300137f0378c4b619f06130a406f605aca73787258954 |
Close
Hashes for hestia_earth_validation-0.28.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 729ed0a1f4a2ed14c4c7418c39f17279992e8b0aed8215d2a9c9bd99fceb6791 |
|
MD5 | 76d7a004307534ad4520ef4aefefb7e6 |
|
BLAKE2b-256 | 321a9de588d7d71419d6d274c7320fcbbe4d8143debc102bc5783e5a1acbc580 |