Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DataHub Great Expectations (GX) Plugin

Send Great Expectations data quality results into DataHub — surface assertion outcomes alongside your dataset metadata so teams can see data health at a glance.

What you can do

  • Emit assertion results from GX Checkpoints directly into DataHub as data quality assertions
  • Link quality checks to datasets — results appear on the dataset's profile in DataHub
  • Track pass/fail history over time for every expectation suite
  • Works with any DataHub deployment — self-hosted or DataHub Cloud

Compatibility

GX version Module
0.17.x / 0.18.x datahub_gx_plugin.action.DataHubValidationAction
1.x datahub_gx_plugin.action_v1.DataHubValidationAction

Both APIs are supported additively in the same package. Use the module that matches your installed GX major version.

Installation

pip install acryl-datahub-gx-plugin

Quickstart (GX 0.17 / 0.18)

Add the DataHub action to your GX Checkpoint:

from datahub_gx_plugin.action import DataHubValidationAction
from great_expectations.checkpoint import Checkpoint

checkpoint = Checkpoint(
    name="my_checkpoint",
    data_context=context,
    action_list=[
        {
            "name": "datahub",
            "action": {
                "class_name": "DataHubValidationAction",
                "module_name": "datahub_gx_plugin.action",
                "server_url": "http://localhost:8080",
            },
        }
    ],
)

Quickstart (GX Core 1.x)

import great_expectations as gx
from datahub_gx_plugin.action_v1 import DataHubValidationAction

context = gx.get_context()
# ... create validation_definitions ...

checkpoint = context.checkpoints.add(
    gx.Checkpoint(
        name="my_checkpoint",
        validation_definitions=validation_definitions,
        actions=[
            DataHubValidationAction(
                name="datahub",
                server_url="http://localhost:8080",
                # Optional when batch_spec meta is incomplete:
                # platform="postgres",
                # dataset_name="public.my_table",
            )
        ],
    )
)
checkpoint.run()

Results from every Checkpoint run will appear in DataHub under the dataset's Validation tab.

Metadata

Release files for acryl-datahub-gx-plugin 1.9.0.3rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acryl-datahub-gx-plugin 1.9.0.3rc1
File Size Uploaded Provenance Actions
acryl_datahub_gx_plugin-1.9.0.3rc1.tar.gz 19.8 kB Without provenance Details for acryl_datahub_gx_plugin-1.9.0.3rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acryl-datahub-gx-plugin 1.9.0.3rc1
File Interpreter ABI Platform Actions
acryl_datahub_gx_plugin-1.9.0.3rc1-py3-none-any.whl Python 3 none any Details for acryl_datahub_gx_plugin-1.9.0.3rc1-py3-none-any.whl

Total release size: 39.7 kB

Release files / acryl_datahub_gx_plugin-1.9.0.3rc1.tar.gz

Download URL acryl_datahub_gx_plugin-1.9.0.3rc1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4f14db7792efbac890ee338647658207145684957c6c13d079838f2a7231a21e
BLAKE2b-256 checksum
How to use checksums
1e76ed0182cf8f25106590d5955930f360c747bf070666891c385a236a2a529c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / acryl_datahub_gx_plugin-1.9.0.3rc1-py3-none-any.whl

Download URL acryl_datahub_gx_plugin-1.9.0.3rc1-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7427c7e07a2a028d969a28e03b3069470213eb90004378792e859b79aa82ea7
BLAKE2b-256 checksum
How to use checksums
56316ffd90de1605924d2c1cded94ff8dbb32120dc35a6323b149322131bf3f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for acryl-datahub-gx-plugin 1.9.0.3rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page