The HyDAMO Validation Module: hydamo_validation
Validation Module for HyDAMO data.
Installation
Make sure you have Python 3.12 or 3.13 installed from the official homepage
pip install hydamo-validation
Alternatively, install with uv
uv venv
uv pip install hydamo-validation
Specify a coverage directory
To get the validator running you need some AHN data. You can find these in the data directory of this directory. We assume you copy this to your/local/ahn/dir. Now specify your coverage and init the validator in a python-script:
from hydamo_validation import validator
from pathlib import Path
coverage = {"AHN": Path("your/local/ahn/dir")}
hydamo_validator = validator(
output_types=["geopackage", "csv", "geojson"], coverages=coverage, log_level="INFO"
)
With this validator you can validate a directory that directory should have the following structure. The name of datasets directory and ValidatorRules.json are mandatory. Within datasets you can put one or more geopackages with HyDAMO layers.
your/directory/
├─ datasets/
│ ├─ hydamo.gpkg
├─ ValidationRules.json
Now you can validate the HyDAMO layers inside your/ directory by:
directory = Path("your/directory")
datamodel, layer_summary, result_summary = hydamo_validator(
directory=directory, raise_error=False
)
Metadata
Release files for hydamo-validation 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hydamo_validation-1.6.0.tar.gz | 88.0 kB | Without provenance | Details for hydamo_validation-1.6.0.tar.gz |
Release files / hydamo_validation-1.6.0.tar.gz
| Download URL | hydamo_validation-1.6.0.tar.gz |
|---|---|
| Size | 88.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6e0f432155bf90f41f462383103f91210f8931733435c0e605dfa499ab5da62
|
|
BLAKE2b-256 checksum How to use checksums |
a68e24e579e49c628c263b93a48a2100f76b90fbc48647da97065027d33895f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for hydamo-validation 1.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.