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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6024ad6b9dd2c107e3d98d179301787650b91bab389b3e0ae362a9103d12d1d1 |
|
MD5 | f28a3725117f1e74713d808ea47cbf4f |
|
BLAKE2b-256 | 253f84ac904f3fe8286ba7aa2c244b32bbbca65f22e1aa43201c8757f71b27b6 |
Close
Hashes for hestia_earth_validation-0.28.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef377a5812a95752211ce4b5d3b651666a82d0067d3fd0897415673f300fe49 |
|
MD5 | 2357f543ca35f68d3a7b01665950401a |
|
BLAKE2b-256 | 91fd0b31f494ee8e99b73052e615fd5885e7c591e762999957960c856bf76b30 |