Registry / data / acryl-datahub-dagster-plugin

acryl-datahub-dagster-plugin

JSON →
library1.6.0.4pypypiunverified

A Dagster plugin that captures pipeline execution metadata and sends it to DataHub for data lineage and observability. Current version: 1.5.0.17. Requires Python >=3.10. Released as part of the DataHub project.

pip install acryl-datahub-dagster-plugin
INSTALL
IMPORT
SIG · ACRYL-DATAHUB-DAGS
A
acryl-datahub-dagster-plugin
datapythonv1.6.0.4
Install
31.0s avg
Import
Disk
349MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.6.0.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 31.0s · import 0.000s · 348MB
349MB installed
● package 349MB
Code
Verified usage

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

DatahubDagsterHook
from datahub_dagster_plugin.hooks import DatahubDagsterHook
from datahub_dagster_plugin.hooks import DatahubDagsterHook

Define a simple Dagster job with a DatahubDagsterResource to emit metadata. Uses environment variable for GMS host.

import os from dagster import job, op, OpExecutionContext from datahub_dagster_plugin.resources import DatahubDagsterResource from datahub.emitter.rest_emitter import DatahubRestEmitter @op(required_resource_keys={'datahub'}) def my_op(context: OpExecutionContext): context.log.info("Running op") return 1 @job(resource_defs={ 'datahub': DatahubDagsterResource( emitter=DatahubRestEmitter(gms_server=os.environ.get('DATAHUB_GMS_HOST', 'http://localhost:8080')) ) }) def my_job(): my_op() if __name__ == '__main__': result = my_job.execute_in_process()
Debug
Known issues
gotchaThe plugin uses underscore in the import path ('datahub_dagster_plugin') despite the PyPI name having hyphens ('acryl-datahub-dagster-plugin'). Many users mistakenly import from 'acryl_datahub_dagster_plugin'.
fix
Use 'from datahub_dagster_plugin.hooks import DatahubDagsterHook' (or .resources).
affects: all
breakingIn version 1.0.0, the plugin was rewritten to use the new DataHub Python SDK (acryl-datahub). The old 'datahub-dagster-plugin' is deprecated and removed. Users must migrate to 'acryl-datahub-dagster-plugin' and update imports.
fix
Uninstall the old 'datahub-dagster-plugin' and install 'acryl-datahub-dagster-plugin'. Update imports from 'datahub_dagster_plugin' to 'acryl_datahub_dagster_plugin' (but note the actual module path is 'datahub_dagster_plugin' - check documentation).
affects: >=1.0.0
deprecatedThe 'datahub-dagster-plugin' (without 'acryl-') is deprecated and no longer maintained. Users should switch to 'acryl-datahub-dagster-plugin'.
fix
Use 'pip install acryl-datahub-dagster-plugin' and update imports accordingly.
affects: all
Upgrade
Version history
1.6.0.4latest on PyPI · released Jun 18, 2026
Audit
Dependencies
datahubrequiredThe plugin depends on the core datahub library for emitting metadata to DataHub.
dagsterrequiredRequired for integrating with Dagster pipelines.
acryl-datahub-restoptionalOften used for REST-based ingestion to DataHub.
Agent activity
55 hits · last 30 days
node
44
OpenAI (training)
1
Resources
acryl-datahub-dagster-plugin — pip install acryl-datahub-dagster-plugin · libregistry