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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949cf4b587a2e0e098a43001c066c2c37b5eba2f99b7c28c2c83e01b106707a9 |
|
MD5 | fe7133f1c744f414ae9418e66b3f75bf |
|
BLAKE2b-256 | b54aeb8285ee5919a29df3943ab7213592733d854dae05d3fea9baa3609ea5e8 |
Close
Hashes for hestia_earth_validation-0.29.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6e28ddbfd80cca0c523c4ec9afb2ab13b83aaa731f8ff0e5beef3f7b6af501 |
|
MD5 | 758350bffc5f04c39759b97042c358ae |
|
BLAKE2b-256 | 0efef595afed450be89ceb64a25f93c42bccfd2a1f50401b99ef730471244326 |