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

Uploaded Source

Built Distribution

hestia_earth_validation-0.32.6-py3-none-any.whl (80.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hestia-earth-validation-0.32.6.tar.gz
Algorithm Hash digest
SHA256 ed4932639e6bd74ef9f876391be7d28448d5e6d6a3514019ecd6f31e968fbbf7
MD5 395c23af925c926aa644a239ae2ab95c
BLAKE2b-256 c3d8dae197699dc86c6afb276fc45459953062010dee0eb4eea2941534c7ce8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hestia_earth_validation-0.32.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ea63cdc7939aa33ce94482146eda787ef059e99c7a55262347655cd02791df
MD5 f063dd297024de46459836799661398d
BLAKE2b-256 cfd034b59f5223f7101968e333ef2035e1e5b52729fa5ee4affcdea8bd42cb88

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