data-validator
data-validator validates MIP data-model folders using DuckDB.
Standalone package setup
From the repository root:
cd data-validator/mip-data-validator
poetry install
Command
poetry run data-validator validate-data-model /path/to/data_model_folder
Run as a Python module:
poetry run python -m data_validator validate-data-model /path/to/data_model_folder
Optional threads:
poetry run data-validator validate-data-model /path/to/data_model_folder --threads 8
Collect all errors and emit NDJSON:
poetry run data-validator validate-data-model /path/to/data_model_folder --report-all --format ndjson
Write HTML report to a file:
poetry run data-validator validate-data-model /path/to/data_model_folder --report-all --format html --output report.html
If --format html is used without --output, the report is automatically written under /tmp and the path is printed.
Folder Layout
/path/to/data_model_folder/
CDEsMetadata.json
dataset1.csv
dataset2.csv
Validation Notes
- CSV validation queries files directly with DuckDB and uses fused aggregate checks to reduce scan overhead.
- Folder-level dataset uniqueness is enforced across all CSV files via SQL using normalized codes (
trim + lower).
Metadata
Release files for mip-data-validator 0.0.1
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 |
|---|---|---|---|---|
| mip_data_validator-0.0.1.tar.gz | 11.6 kB | Without provenance | Details for mip_data_validator-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mip_data_validator-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for mip_data_validator-0.0.1-py3-none-any.whl |
Total release size: 26.0 kB
Release files / mip_data_validator-0.0.1.tar.gz
| Download URL | mip_data_validator-0.0.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85c006a5a6abc220ffe6e93b9abed62c106e6bcef1744521706222a220dbafc8
|
|
BLAKE2b-256 checksum How to use checksums |
cf9635af2728863e765788a00805b1be5f0912c1d43ada02186543036731a42d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.3 Linux/6.8.0-101-generic
|
Release files / mip_data_validator-0.0.1-py3-none-any.whl
| Download URL | mip_data_validator-0.0.1-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3619a10ce38d6e941cb0060339fb4fa6f6a8d6f5d44fe951370fd40ee7ec10f7
|
|
BLAKE2b-256 checksum How to use checksums |
70cb91baff3f2ad5f760358b13cfb104c2efe2ed0f2f14d1e07935767370f853
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.3 Linux/6.8.0-101-generic
|
Security for mip-data-validator 0.0.1
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.