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.7.tar.gz
.
File metadata
- Download URL: hestia-earth-validation-0.32.7.tar.gz
- Upload date:
- Size: 57.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b361b09b4b8f6b3aa5c9f9761e3ad18419aa93ada276e5721b90ba5542fdad1d |
|
MD5 | 8d846e7971fdd69ce61e9eba3dc894d1 |
|
BLAKE2b-256 | 663da29b34123fa190208803300159afbf96d84f22512038aa626f4338326573 |
File details
Details for the file hestia_earth_validation-0.32.7-py3-none-any.whl
.
File metadata
- Download URL: hestia_earth_validation-0.32.7-py3-none-any.whl
- Upload date:
- Size: 80.6 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 | d033c2d74f7968f06bf6276cf15a786b4e25ebf8e55e54f1cc0078a5246c318e |
|
MD5 | 0967a91aae9366cb71e3d26e7dfeff0e |
|
BLAKE2b-256 | 28295a20f2560407183ed310cc410df094f5b07497d9ca3b0132be9f4009e0f5 |