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.28.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c31e3316eb3e8473f15f620e9e535c47a0b4160fb5f4cd96091e5f40d41d6b0 |
|
MD5 | eb548772583d07c6b504e8a9e55c3e4d |
|
BLAKE2b-256 | 802bc21116cb1df8d04eeca1511d8d9c311555112662577922f266e137638ec8 |
Close
Hashes for hestia_earth_validation-0.28.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67bcdcdd1b78a94cb36e5aeacdc7304c27c1cbc340a3c8d67b9f452ed84af3cd |
|
MD5 | 002f45e7e40ad74854eeb41810bb90d7 |
|
BLAKE2b-256 | 56b56b20f88b97b1d39ae6dec913bbd354d616c296d5a4a0d206ca3da55fa9e4 |