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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a3bda9cee432b6b8fb11a89d7abc473da86374d9b9fedcdb33dddc1113e24c |
|
MD5 | 3276888daa0ae481b433b2ec7a9e74e2 |
|
BLAKE2b-256 | 51ae6038115d55fcec24930a91828f08ae40eec62122646ac742d8731be4acc7 |
Close
Hashes for hestia_earth_validation-0.28.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129f94af25dfbf1c2169273ab961aa5b8b483f5728413de04536b6e4c1c52d48 |
|
MD5 | 815703adcde9a01bae1192b5b084a795 |
|
BLAKE2b-256 | 7d3a68216077dd0eaf7ac5493164eedd643c11e87446d91b781cec3be1c5efb7 |