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: if you want to validate existing data (with @type
and @id
fields), please set the following environment variable:
VALIDATE_EXISTING_NODES=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.20.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1399c81af1a1f3719469edb39ed06d52bb3cc47263a4b79f7d6c4444909f8eb3 |
|
MD5 | 3fa6c0a24b9eafc315fb8f925cea23ba |
|
BLAKE2b-256 | f1fc50e8bdd7607aebfc9dd5c77a002cdcbe4f185d60b21b5ece5149a3dd9ee9 |
Close
Hashes for hestia_earth_validation-0.20.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1284e290baa91c8cd5768277f5bdbcf6579a4c1821b4e9c02e2b68e3b269f60e |
|
MD5 | 78ac8d913ca1f0f45f9398c4044560f4 |
|
BLAKE2b-256 | 4e8591dfeb0d9f83bd366f809ef4901cd5b08129fce9f68075f252751cdfb6d2 |