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.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| acryl_datahub_dagster_plugin-1.7.0.17.tar.gz | 21.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acryl_datahub_dagster_plugin-1.7.0.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.9 kB
Release files / acryl_datahub_dagster_plugin-1.7.0.17.tar.gz
| Download URL | acryl_datahub_dagster_plugin-1.7.0.17.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3557d8b5de78fc8ae05e1bb9995c8447fbed5758b40c552f13bffea1b1db68c6
|
|
BLAKE2b-256 checksum How to use checksums |
9cb514d2d87b5c581dbc776b43742e4d4a0f3b29fe8f107296e5c169a5716c85
|
| 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_dagster_plugin-1.7.0.17-py3-none-any.whl
| Download URL | acryl_datahub_dagster_plugin-1.7.0.17-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec58eb5c96fa58892e678bb45a34099b6db0cbf5f61368991fafbd6974c4525a
|
|
BLAKE2b-256 checksum How to use checksums |
e84f2622c60a4b76eae298c28a367da677ba16f82ca5c09a867dd67c0b61924d
|
| 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-dagster-plugin 1.7.0.17
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.