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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 252a1651c558aafd14ebc81c3d6e0e3afb0e266f9290b38300f9a3efa67fd663 |
|
MD5 | efec78fa4dad5100426005f3dc3167af |
|
BLAKE2b-256 | 6a055366ab2bc65b2d957d0c90d42240d92593ae098c9f9d6fce24685a195381 |
Close
Hashes for hestia_earth_validation-0.29.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14b7b9a29571e4cab80f18484238e7e88cda4213bf7f0ab5982184f427dace8d |
|
MD5 | 3874baec8dc72d7bc6a714bd55bba339 |
|
BLAKE2b-256 | a344359474a29e0df496f3aff970d3fd43d8924e1146a8feb6cc4f4242c662fa |