datajudge allows to assess whether data from database complies with reference
Project description
datajudge
Express and test specifications against data from database.
Usage
datajudge
can either be installed via pypi with pip install datajudge
or via conda-forge with conda install datajudge -c conda-forge
.
Please refer to the Getting Started section of our documentation for details.
Expressing an expectations between different tables from a database may look as such:
from datajudge import BetweenRequirement
companies_between_req = BetweenRequirement.from_tables(
db_name1="example",
table_name1="companies",
db_name2="example",
table_name2="companies_archive",
)
companies_between_req.add_row_superset_constraint(
columns1=["name"], columns2=["name"], constant_max_missing_fraction=0
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datajudge-1.5.0.tar.gz
(374.5 kB
view hashes)
Built Distribution
datajudge-1.5.0-py3-none-any.whl
(42.7 kB
view hashes)
Close
Hashes for datajudge-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e10720187d32325ec5a707e4edfd11030691e38ad52173d5186ec7015d010154 |
|
MD5 | 3edd7869a331a96bd9fffcf8a8a4e57e |
|
BLAKE2b-256 | 2ba1957484536c225504f9501e2c1b468d7ee9dcbff54a2c5e013089108a68de |