openlineage-dbt
OpenLineage integration with dbt
Decision gist · record as of 2026-08-14
Yes, if you run dbt and need to track lineage in an OpenLineage backend. Low install friction, active maintenance, no known vulnerabilities, and a clear use case for data governance. The main gotcha is the unclear license metadata—verify the Apache-2.0 claim before use in restricted contexts—and ensure your dbt adapter is in the supported list.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires dbt >= 0.20 and Python >= 3.10 (per requires_python).
- Only supports specific dbt adapters: bigquery, snowflake, spark, redshift, athena, glue, postgres, clickhouse, trino, databricks, sqlserver, fabric, dremio, duckdb.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
(unclear) — License treatment is unclear in the metadata; the description footer notes Apache-2.0 and copyright 2018-2026 to the OpenLineage project, but this is not formally declared in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
last release 2026-07-23 (22 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 158,290 downloads/mo, #10,728 on PyPI
Alternatives
Verify before relying
pip install openlineage-dbt
# Set OpenLineage backend URL
export OPENLINEAGE_URL=http://localhost:5000
# Replace 'dbt run' with 'dbt-ol run'
dbt-ol run- Whether the Apache-2.0 license stated in the description footer is the authoritative license, given the unclear metadata treatment.
- Whether catalog.json (from 'dbt docs generate') is required or optional for full metadata collection.
- Support status and compatibility with dbt versions newer than 0.20.
What it is and what it does
OpenLineage dbt is a wrapper that intercepts dbt runs and automatically captures metadata about model execution, inputs, and outputs, then sends that lineage data to an OpenLineage backend. It replaces the standard `dbt run` command with `dbt-ol run`, allowing you to track data flows and dependencies across your dbt project without modifying your dbt code. The package depends on dbt-core and the openlineage-integration-common library to handle transport and formatting.
It works with a wide range of dbt adapters (bigquery, snowflake, spark, redshift, athena, glue, postgres, clickhouse, trino, databricks, sqlserver, fabric, dremio, duckdb) and is configured via environment variables pointing to your OpenLineage backend. Optional table and column-level metadata is available if you've run `dbt docs generate` to produce a catalog.json file.
Use it for
- Track data lineage across dbt models in a centralized OpenLineage instance for compliance and impact analysis.
- Automatically log model run lifecycle events without modifying dbt projects or adding custom hooks.
- Integrate dbt metadata into a broader data governance or observability platform that consumes OpenLineage events.
- Capture input/output relationships for dbt models running on cloud data warehouses (Snowflake, BigQuery, Redshift, Databricks).
- Send historical run metadata using `dbt-ol send-events` to backfill lineage without re-running jobs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you run dbt and need to track lineage in an OpenLineage backend.
Low install friction, active maintenance, no known vulnerabilities, and a clear use case for data governance. The main gotcha is the unclear license metadata—verify the Apache-2.0 claim before use in restricted contexts—and ensure your dbt adapter is in the supported list.
Install
openlineage-dbt on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance (released 22 days ago). Depends on tqdm, openlineage-integration-common, and dbt-core; the dbt-core dependency will pull in its own ecosystem.
Requires dbt >= 0.20 and Python >= 3.10 (per requires_python). Only supports specific dbt adapters: bigquery, snowflake, spark, redshift, athena, glue, postgres, clickhouse, trino, databricks, sqlserver, fabric, dremio, duckdb.
License in practice
License treatment is unclear in the metadata; the description footer notes Apache-2.0 and copyright 2018-2026 to the OpenLineage project, but this is not formally declared in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pip install openlineage-dbt
# Set OpenLineage backend URL
export OPENLINEAGE_URL=http://localhost:5000
# Replace 'dbt run' with 'dbt-ol run'
dbt-ol run
Verify before relying
- Whether the Apache-2.0 license stated in the description footer is the authoritative license, given the unclear metadata treatment.
- Whether catalog.json (from 'dbt docs generate') is required or optional for full metadata collection.
- Support status and compatibility with dbt versions newer than 0.20.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagestqdmopenlineage-integration-commondbt-core |
| Maintenance | Actively maintained 22 days since the last release |
| First released | |
| Downloads | 158,290 / month, #10,728 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: openlineage_dbt-1.52.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dbt metadata collection”
- openlineage-dbtAutomatically collects and sends dbt run metadata—model lifecycle,…
- openlineage-integration-commonProvides common Python utilities and data models for OpenLineage…
- dbt-artifacts-parserParses dbt artifact JSON files (catalog, manifest, run-results,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also dbt-colibri · openlineage-integration-common · openlineage-python · openlineage-sql · openlineage-airflow · apache-airflow-providers-openlineage · elementary-data · dbt-mcp · dbt-coverage · acryl-datahub-airflow-plugin