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
File details
Details for the file hestia-earth-validation-0.32.9.tar.gz
.
File metadata
- Download URL: hestia-earth-validation-0.32.9.tar.gz
- Upload date:
- Size: 57.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcdc2cf948cbb5e9f0f69908794c270fbdf1bb57c49da6a877e5447d6123e46 |
|
MD5 | 4c8fa326b22149ca46007d8e0f9dbc1a |
|
BLAKE2b-256 | 44825fd55257634bf45fafc723253c34406634c4b52c95dd4c6954133369de23 |
File details
Details for the file hestia_earth_validation-0.32.9-py3-none-any.whl
.
File metadata
- Download URL: hestia_earth_validation-0.32.9-py3-none-any.whl
- Upload date:
- Size: 80.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9928d400092072325f4eb38db836c3f88f13a50ad51b59621a9befb117dde69 |
|
MD5 | a5fbfeb6972f887bf57767c725c17a72 |
|
BLAKE2b-256 | 1dbc59c213bc6cb96ffa1b7ec78c065d463900fba1a82d7eeca6169f807b83f2 |