dqtlib
The Data Quality Tool for Agentic BI. Tells you the what and surfaces the why.
Unifies your scattered data into one source of truth. Upgrades your existing models, dashboards, and queries into a causal semantic layer you didn't have to write. Picks up on trends and surfaces business insights, all wrapped in a quality harness that puts guardrails on the AI so the reports it generates stay on-spec.
pip install dqtlib
The import name is dqt:
from dqt import Check, Runner, MemoryStore
Full documentation and examples: https://github.com/antonbarr-data/dqt
Quality
All 64 detectors are benchmarked against labeled synthetic datasets. Benchmark scripts and raw results live in the GitHub repo and are run on every release:
Median F1: 1.00 | Detectors with F1 >= 0.8: 52/64 | Detectors with F1 >= 0.6: 58/64
Per-detector breakdown: examples/benchmarks/results_summary.md
Reproduce by cloning the repo and running:
python scripts/run_benchmark_suite.py --quick
python scripts/generate_benchmark_summary.py
Adapters
Six adapters ship in v1.0. Nightly CI runs against live credentials for the cloud warehouses.
| Adapter | CI |
|---|---|
| PostgreSQL (local) | bundled — no credentials needed |
| ClickHouse | |
| Snowflake | |
| BigQuery | |
| Databricks | |
| Local (DuckDB) | bundled — no credentials needed |
Slack alerts
Run a check suite and post results to Slack in three lines:
from dqt import Runner, MemoryStore
from dqt.notifications import SlackNotifier
suite = Runner(MemoryStore()).run_suite(checks, adapter)
SlackNotifier().send_suite_report(suite, title="nightly orders checks")
# set SLACK_WEBHOOK_URL env var — no bot token required
Control which checks appear in the message with level:
# only failures
SlackNotifier().send_suite_report(suite, level="fail")
# warnings + failures (default)
SlackNotifier().send_suite_report(suite, level="warn")
# every check including passes
SlackNotifier().send_suite_report(suite, level="all")
Full reference: docs/api/notifications.md
Detector documentation
64 statistical detectors across 10 groups — drift, outliers, time series, distribution, information theory, pattern, referential, schema, basic, and custom.
Every detector has a structured page at docs/algorithms/<group>/<slug>.md covering:
- What it computes and its parameters
- When it works well and when it fails (with concrete failure-mode table)
- Default-threshold calibration — empirical FPR across six canonical data shapes (Normal, Lognormal, Poisson, Beta, Pareto, Exponential)
- Recommended thresholds per data shape
- Canonical citation and runnable Python API example
Browse the full catalog: docs/algorithms/README.md
Metadata
Release files for dqtlib 1.5.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 |
|---|---|---|---|---|
| dqtlib-1.5.1.tar.gz | 325.0 kB | Without provenance | Details for dqtlib-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dqtlib-1.5.1-py3-none-any.whl | Python 3 | none | any | Details for dqtlib-1.5.1-py3-none-any.whl |
Total release size: 681.1 kB
Release files / dqtlib-1.5.1.tar.gz
| Download URL | dqtlib-1.5.1.tar.gz |
|---|---|
| Size | 325.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84c09f07e4472433698311c4d9b6d66197cfcaab98685e09adad41002ea3ae45
|
|
BLAKE2b-256 checksum How to use checksums |
5e1a27b21a0aa8ee24b7d1f078627c3b260e83e46cc428ec74d69da10d908ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dqtlib-1.5.1-py3-none-any.whl
| Download URL | dqtlib-1.5.1-py3-none-any.whl |
|---|---|
| Size | 356.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00eed2ce98b1a316fbad9ab992b15fe78bc0eed0121e5983dc7e64ac8756cf14
|
|
BLAKE2b-256 checksum How to use checksums |
95c0bfc75bd812f93d12606522614d56b1957ff06ea6c43b2c7fd1a189c5233c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for dqtlib 1.5.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.