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.26.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36d0234ea3bc243cc87445457f5884b1ed13bc7a07fb126c609c280760bcccc1 |
|
MD5 | abdb535d85ec3788134b8bee886f3720 |
|
BLAKE2b-256 | d78a4a9dbebfbc722c99ab85f470c5199290b6d93f496fcd4b918b0eae04f792 |
Close
Hashes for hestia_earth_validation-0.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7f347ab20bf2c66a7f3d266ffe09125b4b0dad48db17b4b282e7c45a64dec33 |
|
MD5 | 27ab9730184cba69341422d8385b8a44 |
|
BLAKE2b-256 | 5c564ffe0915b037d16f70e2fd2ac2d0b08725885267f7fcd02f776b4cfe79a9 |