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.9.1.tar.gz
(470.0 kB
view hashes)
Built Distribution
datajudge-1.9.1-py3-none-any.whl
(53.9 kB
view hashes)
Close
Hashes for datajudge-1.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24db83c60d1fae94a773e536e9c21d420b0dae87f9ad56c0932ed97fe69865ce |
|
MD5 | 06205010140803a8b04b10866e302e46 |
|
BLAKE2b-256 | 1b727b2319c4774686ee19b5ff45b3a1136ff1601ef38305ef86be64e8a55fec |