Registry / analytics / acryl-datahub-gx-plugin

acryl-datahub-gx-plugin

JSON →
library1.6.0pypypiunverified

Plugin for integrating Great Expectations validation results with Acryl DataHub. Captures GX execution events and sends them to DataHub for lineage and observability. Current version: 1.6.0, requires Python >=3.10. Released as part of the datahub project.

pip install acryl-datahub-gx-plugin
INSTALL
IMPORT
SIG · ACRYL-DATAHUB-GX-P
A
acryl-datahub-gx-plugin
analyticspythonv1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DatahubEmitter
from datahub_gx_plugin import DatahubEmitter
from datahub.emitter.rest_emitter import DatahubEmitter

Initialize the DataHub GX action with server URL and optional token.

import os from datahub_gx_plugin.action import DatahubGreatExpectationsAction gx_datahub_action = DatahubGreatExpectationsAction( datahub_server_url=os.environ.get('DATAHUB_SERVER', 'http://localhost:8080'), datahub_token=os.environ.get('DATAHUB_TOKEN', '') ) print('DataHub GX action configured successfully')
Debug
Known issues
breakingIn version 1.5.0, the configuration format changed. The `datahub_rest_emitter` parameter was replaced with `datahub_server_url` and `datahub_token`.
fix
Update your action instantiation to use `datahub_server_url` and `datahub_token` instead of passing a preconfigured emitter.
affects: >=1.5.0
gotchaThe plugin requires a running DataHub instance. Without it, the action will silently drop events.
fix
Ensure the `datahub_server_url` is correct and the DataHub GMS is reachable. Enable debug logging to see connection errors.
affects: all
deprecatedThe old import path `from acryl_datahub_gx_plugin import ...` is deprecated. Use `from datahub_gx_plugin import ...` instead.
fix
Switch to the new import path: `from datahub_gx_plugin.action import ...`
affects: >=1.4.0
Upgrade
Version history
1.6.0latest on PyPI · released May 20, 2026
Audit
Dependencies
acryl-datahubrequiredCore DataHub library required for sending metadata
great_expectationsrequiredGreat Expectations library for data validation
Agent activity
51 hits · last 30 days
node
42
Perplexity
1
OpenAI (training)
1
Resources
acryl-datahub-gx-plugin — pip install acryl-datahub-gx-plugin · libregistry