Skip to main content

datajudge allows to assess whether data from database complies with referenceinformation.

Project description

datajudge

CI Documentation Status Conda-forge PypiVersion codecov.io

Express and test specifications against data from database.

Documentation

Supported backends

PostgreSQL Microsoft SQL Server Snowflake Google BigQuery DuckDB

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


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.13.0.tar.gz (498.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datajudge-1.13.0-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

Details for the file datajudge-1.13.0.tar.gz.

File metadata

  • Download URL: datajudge-1.13.0.tar.gz
  • Upload date:
  • Size: 498.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datajudge-1.13.0.tar.gz
Algorithm Hash digest
SHA256 1f8b61bcb1d198ccefa47ceafc54b46f20795988176da4a8d6d0d840bfc61e5b
MD5 4f69ef0d5c6bcb792b96342ab8ba5c11
BLAKE2b-256 a9a34d12498e6865c6eeac34e75c6d75b48fcaf9cabde5e1ab5638b72e7b0063

See more details on using hashes here.

Provenance

The following attestation bundles were made for datajudge-1.13.0.tar.gz:

Publisher: build_and_publish.yaml on Quantco/datajudge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datajudge-1.13.0-py3-none-any.whl.

File metadata

  • Download URL: datajudge-1.13.0-py3-none-any.whl
  • Upload date:
  • Size: 58.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datajudge-1.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eec8df39fc8520f1b8d95c84af966bce88d7583a323ea18aa6dda7444071a227
MD5 be0a4b53a64b5d77ce3b2e4f8e27e859
BLAKE2b-256 764e1594e0d4713a8087dd3be7930bd63ec59c1ee6b798df2a258e41667b40ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for datajudge-1.13.0-py3-none-any.whl:

Publisher: build_and_publish.yaml on Quantco/datajudge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page