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.preload_requests import enable_preload
from hestia_earth.validation import validate

# enable request preloading
enable_preload()
# for each node, this will return a list containing all the errors/warnings (empty list if no errors/warnings)
errors = validate(nodes)

Note: if you want to validate existing data (with @type and @id fields), please set the following environment variable:

VALIDATE_EXISTING_NODES=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.40.1.tar.gz (61.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hestia_earth_validation-0.40.1-py3-none-any.whl (76.7 kB view details)

Uploaded Python 3

File details

Details for the file hestia_earth_validation-0.40.1.tar.gz.

File metadata

  • Download URL: hestia_earth_validation-0.40.1.tar.gz
  • Upload date:
  • Size: 61.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for hestia_earth_validation-0.40.1.tar.gz
Algorithm Hash digest
SHA256 e5cf26f119f2590014313696a32342c213918f2b9f4114f40c2774b14cecbf5c
MD5 9476f12f8032dea6e74a13793f82cab6
BLAKE2b-256 0868684ee34f50d038a77b0995a9d3a1a0c1695490cbf2d86d5aebf97ccbe812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hestia_earth_validation-0.40.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e91e8a97f645dd6daa45cbb14ebf1509fc6c2fd2ced606c7e1d05fdbdf50208e
MD5 4511dd3bff6554e744b6567b521d749c
BLAKE2b-256 366056651594d50bfc99e9d62b782dd9d7110e85aff72d05664fbd16cc6b34fc

See more details on using hashes here.

Supported by

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