Pre-release
This release is a pre-release and may not be stable for production use.
DataHub Dagster Plugin
Automatic lineage and run metadata from Dagster into DataHub — captures asset definitions, job runs, and dataset-level lineage with no manual instrumentation.
What you can do
- Capture asset lineage — automatically extract upstream/downstream relationships between Dagster assets and external datasets
- Track run history — record job execution status and task-level outcomes in DataHub
- Map Dagster assets to DataHub entities — assets appear as datasets in your DataHub catalog
- Works with any DataHub deployment — self-hosted or DataHub Cloud
Installation
pip install acryl-datahub-dagster-plugin
Quickstart
Add the DataHub sensor to your Dagster project:
from datahub.ingestion.graph.config import DatahubClientConfig
from datahub_dagster_plugin.sensors.datahub_sensors import (
DatahubDagsterSourceConfig,
make_datahub_sensor,
)
config = DatahubDagsterSourceConfig(
datahub_client_config=DatahubClientConfig(server="http://localhost:8080"),
dagster_url="http://localhost:3000",
)
datahub_sensor = make_datahub_sensor(config=config)
Register it alongside your jobs and assets in your Definitions:
from dagster import Definitions
defs = Definitions(
assets=[...],
jobs=[...],
sensors=[datahub_sensor],
)
Once the sensor is running, every job run will emit lineage and status metadata to DataHub automatically.
Links
Metadata
Release files for acryl-datahub-dagster-plugin 1.7.0.11rc4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acryl_datahub_dagster_plugin-1.7.0.11rc4.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acryl_datahub_dagster_plugin-1.7.0.11rc4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.9 kB
Release files / acryl_datahub_dagster_plugin-1.7.0.11rc4.tar.gz
| Download URL | acryl_datahub_dagster_plugin-1.7.0.11rc4.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a4578c4c35a5ac8ba580b9ca6e6b0f27fc7c5e555347a342ace843d44a1db4b
|
|
BLAKE2b-256 checksum How to use checksums |
b4485395512ab84bb40264dc944685ea942df9ff11d9caacf10135e3e4b6845a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / acryl_datahub_dagster_plugin-1.7.0.11rc4-py3-none-any.whl
| Download URL | acryl_datahub_dagster_plugin-1.7.0.11rc4-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e39d8d0300f7b52fb81a114991a37f6ed6722bb081e6367336a46831a0a92603
|
|
BLAKE2b-256 checksum How to use checksums |
7a0e5efa5480ca34f8b9162bf5d02222a77356bda5246e66ffb4b6f0fda2e4b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|