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.30.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1776673b608f3fd30f1cf2a53bd6bc4538a6659b3e7c38ca5a4b5af087452f |
|
MD5 | d1bf4f1b12e74305573892038746adf0 |
|
BLAKE2b-256 | 75f5775b59fdc69addc80285891ad9c92460d5954c1fa4f7124f27626f974ccf |
Close
Hashes for hestia_earth_validation-0.30.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b602789c08707b1a1f646639769096d37b146bf288f19fe73c0cfa1c3bdca94 |
|
MD5 | 3bb1f96d7edd9d953a53de34d5b1a779 |
|
BLAKE2b-256 | 7caafe4c9f0ec6fb3af118572c0a60eaf533d047533b228d2d81ca6a6dee98c2 |