Skip to main content

HESTIA Data Validation library

Project description

HESTIA Data Validation

Pipeline Status Coverage Report Documentation Status

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

hestia-earth-validation-0.32.5.tar.gz (56.2 kB view details)

Uploaded Source

Built Distribution

hestia_earth_validation-0.32.5-py3-none-any.whl (79.3 kB view details)

Uploaded Python 3

File details

Details for the file hestia-earth-validation-0.32.5.tar.gz.

File metadata

File hashes

Hashes for hestia-earth-validation-0.32.5.tar.gz
Algorithm Hash digest
SHA256 c09075035c534b37ffc24de3fbb48aa07b0fc1863a1dfe8fb469e8cecad180ae
MD5 e6ac3e2db6be52d75601596a0610720f
BLAKE2b-256 e0fca604ebba7f89735676a488dfdeceacb205d025011f7abadf5e997915c681

See more details on using hashes here.

File details

Details for the file hestia_earth_validation-0.32.5-py3-none-any.whl.

File metadata

File hashes

Hashes for hestia_earth_validation-0.32.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dd323a752097530b4dc5aa4417a7b36a353b6bc2c334b7a5e6e0ab016db0664b
MD5 1caaecabd948be3df8d8eb6540bc5804
BLAKE2b-256 293dd33c6dd72f1c307b94c6b99a66f42e28f49a01bda2dc7893360ec8f342a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page