🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

datajudge

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datajudge

datajudge allows to assess whether data from database complies with reference

1.10.0
Source
PyPI
Maintainers
2

datajudge

CI Documentation Status Conda-forge PypiVersion codecov.io

Express and test specifications against data from database.

Documentation

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
)

Keywords

test

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts