DataQuality
快速开始
pip install dataqualityx
多文件任务
dataqualityx --files C:\warehouse\user\task
单文件任务
dataqualityx --files C:\warehouse\user\task\dws_test.yaml
脚本编写
db:
type: doris
host: "127.0.0.1"
port: 9030
user: "admin"
pw: "xxx"
db: "ods"
vars:
- var: "${dt} = $[yyyy-MM-dd-1]"
tasks:
- task:
sql: |
-- 校验 dws_test 表中前一天的数据是否存在
select count(1) from dws.dws_test
where dt = '${dt}'
expected:
- row: "> 0"
alert:
- task:
sql: |
-- 校验 dws_test 表中4种类型是否存在数据
select count(1)
from dws.dws_test
where dt = '${dt}'
group by type
order by type
expected:
- row: "> 0"
- row: "> 0"
- row: "> 0"
- row: "> 0"
alert:
支持命令
--files /home/users/xxx: 支持指定文件路径 (必填)--alerts none: 支持全局禁止报警
支持数据库
- mysql
- doris
- hive
- clickhouse
- clickhouse
- postgresql
Metadata
Release files for dataqualityx 0.1.2
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 |
|---|---|---|---|---|
| dataqualityx-0.1.2.tar.gz | 9.0 kB | Without provenance | Details for dataqualityx-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataqualityx-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for dataqualityx-0.1.2-py3-none-any.whl |
Total release size: 19.2 kB
Release files / dataqualityx-0.1.2.tar.gz
| Download URL | dataqualityx-0.1.2.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9114c1629439a0b431cba004b012a859bed2a42231e6b2480b6227a45e98614
|
|
BLAKE2b-256 checksum How to use checksums |
80579b3af5b8a0cb0f520b8165d84351ced4d3a706c55751d7d954aed6f59076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / dataqualityx-0.1.2-py3-none-any.whl
| Download URL | dataqualityx-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c761c3308d67582261595b6fb811eafde72a858fdd11ca824ab05f48479d1c6
|
|
BLAKE2b-256 checksum How to use checksums |
671c05f39c75b8d36c523dc86bd4125aea128a0a4f6bff18ff374c394ca51ef0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for dataqualityx 0.1.2
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.