Skip to main content

datajudge allows to assess whether data from database complies with reference

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.12.0.tar.gz (484.4 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.12.0-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datajudge-1.12.0.tar.gz
Algorithm Hash digest
SHA256 bf5cf54be6c2ac68c5b4f1b3637c5d772b3b101cf74c231793c77a19ce34b958
MD5 a80aeaefa7f7f34cfd0cd682cc7984ba
BLAKE2b-256 6a58f1a94dc9bbc8edd29b31a68f223842c6cb1c4c545f475b36a83c989672dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for datajudge-1.12.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.12.0-py3-none-any.whl.

File metadata

  • Download URL: datajudge-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 56.3 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.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9abaca17767cd2f8d87c577144a5ce203f5d2e121999475ded8c00f0cabfced
MD5 1e77dde28e8e400e5f3d0eb7bcc9db5c
BLAKE2b-256 20266938bd5ba1e3682c95866819979af2e93dec434bbf80a12e6ede33dbb9d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for datajudge-1.12.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