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.31.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cc9e5976ac02a276eb9904dd38fb28327512da2e053294948a73ede4681ebe |
|
MD5 | f862998a04b38cc3bf6471b4b1793dc3 |
|
BLAKE2b-256 | 81e8ac9ffe96b51f40b90c6267239716b46ddaaaea7e24351ca60b97ef3e0459 |
Close
Hashes for hestia_earth_validation-0.31.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea59210db75e804529ac454edd4d57f0e93562d7641ac031800df36a70783349 |
|
MD5 | 4d91a9e8c6fd65cd37831e0fcdb5b5d4 |
|
BLAKE2b-256 | 339a497081fc65bddb0c063a6b2124ec04ea8623e63c68dbfbaa1f21d5a69f65 |