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.29.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5eb4a127c832baa4c785e3ad92eb1950d7c4d0d22644b5b8b8e788d463b4c35 |
|
MD5 | c8c666510684785e8228281fe85d627c |
|
BLAKE2b-256 | cc8fa330a211fde0905a1bac41c788ab4c77c9bb8e2b323b86a115cccc15ff43 |
Close
Hashes for hestia_earth_validation-0.29.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bab54d59e7eba6b252176927051c91622a55c2a1656efb14ca3866bc077f579 |
|
MD5 | 615c05da629fbda99de6b28fab29585f |
|
BLAKE2b-256 | 600cc337e3f39b91a8f55d5c73a5d082be521372ee09023731c88b446691f92f |