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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 883885d22931e347155bd35d27012ec775607551d3a403371c47c1693def9efb |
|
MD5 | cce39aea0233d9dc6231d73c61a1688e |
|
BLAKE2b-256 | c3d5ceb7ec48ac08f14159fc91e4cd0036221e0e9cfea2b4787af1db946c99a5 |
Close
Hashes for hestia_earth_validation-0.29.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10efc52ec7c8743eb17026e4f0ed97d901bae56edd5563659a188d7df8fd3359 |
|
MD5 | 49627dd1b195f910f5a294eaea334be3 |
|
BLAKE2b-256 | 0ef9623083dbc992203234849e45869fcae802f2f1a650b13071672d85255270 |