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.29.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4316f52706908c3223035cb76cc44a31ad0df8f2f0f06e0eced76cba601b208 |
|
MD5 | f652bddc41cdf3c5aa4ce5a7ad90526b |
|
BLAKE2b-256 | 3d088a6ac87e88457e570fde4d9c384e90acb80533f6f48b181a9e0b590bd8a4 |
Close
Hashes for hestia_earth_validation-0.29.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3bb893c6aa74d0173ef1b916eaa89c3642d4410492e538bff96676aa357d202 |
|
MD5 | 28fb80f0e36ff7038f14fac0e559877e |
|
BLAKE2b-256 | 416596f34eb20d95c30985e2c01d7bdc1102ff57df2efb49a2299c578822e208 |