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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839b53019217b78cf74fbd8e8de8b3bb12f7b2288d76d43ebcad205e13a1a7f5 |
|
MD5 | 57026bdf52de1e512962616f3084d5ff |
|
BLAKE2b-256 | 0bbb70a2b518e41425ef6e6d5db0261eb5bfd5b7013dd367a29b95b32f557444 |
Close
Hashes for hestia_earth_validation-0.28.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0b316856df8f5f21b15f3717368ac9adefcd775414d722b3dbd38b87ce5861 |
|
MD5 | 0fc23315d1f2a9cbca023337f25a4a7d |
|
BLAKE2b-256 | 726071f46a3a0e734fe78c1289af52f33082c0f1554d8a3f2a0a9a22ac6ab83a |