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.25.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852d231b38daf1fa4cd98d102fd41beef80d4741aa1bc8133b948cc5ed9cb982 |
|
MD5 | 00d44f60d511f74432099eaeb1a6aacc |
|
BLAKE2b-256 | 6e870700ccf3c3154acfd7d2f2ed810dedcac23510770fb98a7a5d2c2970dfbd |
Close
Hashes for hestia_earth_validation-0.25.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26215868cf08ad444a5ceba76f869c0090108ff8e0b4af0209ca71c8f52b1805 |
|
MD5 | 93decb69d47ac9219e20dd05ac93791a |
|
BLAKE2b-256 | 7aa829f04be1f48c06a08ae0a76dae58d55b29100c5b71c310917d2c5c136efd |