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.4.tar.gz (56.2 kB view details)

Uploaded Source

Built Distribution

hestia_earth_validation-0.32.4-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hestia-earth-validation-0.32.4.tar.gz
Algorithm Hash digest
SHA256 899aecef1de5c8f807dc48095ccd858212ef6b3013ecf97b81cf42905eff6895
MD5 87939bdee112663ffdb0aad525f42a1c
BLAKE2b-256 850ef80c9ad96f96e7c90a362cae282e726cef113a840444ba5b502acb2470e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hestia_earth_validation-0.32.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9728f1b7e6008eb9a9a10cd5c06c6ba0b1824ffb0e601d053e0538ce07221a1a
MD5 3e810e82ca93232883b44c75c85fb59b
BLAKE2b-256 44a1453a78e57e2d3d7f2b8097467aba3ed31c41a6332157cd8b41797fd7b2a2

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