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.32.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa4f3927875d72ee9d8720f5a245f9664be01678fdeea83c094fc081890a83b |
|
MD5 | c433c30d6788c883beeef830ee2b5440 |
|
BLAKE2b-256 | 0af984855ae7ec2fdec4674ee083c65157c8e58c595034a1eee8e7f05d6557bd |
Close
Hashes for hestia_earth_validation-0.32.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0701316ecb63a8b68041225d2546e27d70bd9b7dfcf3ebdec83a643895f0615a |
|
MD5 | 48b9465a4edba896374a50821e7747f4 |
|
BLAKE2b-256 | 8b96902de3bda2b9e5b9a6c8e2c912a2a9bc98530b0ef5a5389a4a2bb744536a |