dq-kernel
Certifiable data-quality evidence engine for lakehouse pipelines. Semantically versioned rules, exact-arithmetic evaluation, and machine-checkable evidence — engine-agnostic by design.
Install
pip install dq-kernel[spark]
Requires Python 3.12/3.13, Java 17, and a Spark 3.5.9 runtime.
Quick start
from dq.dq_framework import DQFramework
results = DQFramework(spark, config, default_dataframe=df).run()
Each result carries check, success, and bounded details. Evidence is
bound to dataset and rule-set digests as dq-report/v1.
Three semantic versions
| Version | Semantics | Example |
|---|---|---|
| counts/v1 | Completeness (present/rows) | id is 80% complete |
| groups/v1 | Grouped distinct-count bounds | Each region has ≥ 2 distinct ids |
| ranges/v1 | Value-range bounds | All values ≥ 0 and ≤ 100 |
Plans are single-semantics: compose them with RulesetEnvelope for mixed
rulesets and execute the whole ruleset with one call —
dq.spark_adapter.execute_envelope(envelope, datasets) returns the
aggregate verdict.
Documentation
License
Apache-2.0
Metadata
Release files for dq-kernel 0.2.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 |
|---|---|---|---|---|
| dq_kernel-0.2.0.tar.gz | 137.7 kB | With provenance | Details for dq_kernel-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dq_kernel-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for dq_kernel-0.2.0-py3-none-any.whl |
Total release size: 326.8 kB
Release files / dq_kernel-0.2.0.tar.gz
| Download URL | dq_kernel-0.2.0.tar.gz |
|---|---|
| Size | 137.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56eb518811ba3c226b3abbfc5959eb3fb2aa6fc3041cc3db29769cebb2c5ba82
|
|
BLAKE2b-256 checksum How to use checksums |
d4f6d57afb8fdf38327d19ee988ac13cf4aeeac4216afefb024bc065f1953237
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logRelease files / dq_kernel-0.2.0-py3-none-any.whl
| Download URL | dq_kernel-0.2.0-py3-none-any.whl |
|---|---|
| Size | 189.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
541a8e94409be65fd1e49d48673579853ef355300e38f911ffa7dba9b0b68faf
|
|
BLAKE2b-256 checksum How to use checksums |
03d008b5c13c2e0501ef8142b90a281253e2a558055aab2935708dc29a7fe309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logSecurity for dq-kernel 0.2.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dq_kernel-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logA 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.