Skip to main content

DBT Dependency Viewer

DBT Lineage Viewer is a command-line tool for visualizing the upstream and downstream dependencies of a specified DBT model within a DBT project. It generates an HTML file containing a diagram of the dependency tree.

Installation

Install the package using pip:

pip install dbt-lineage-viewer

Usage

To use the DBT Dependency Viewer, please navigate into your dbt project folder and run the following command:

dbt-lineage-viewer <model_name> --max-depth <max_depth> --output <output_file>

Replace <model_name> with the name of the DBT model you want to analyze, <max_depth> with the maximum depth for the dependency tree, and <output_file> with the name of the output HTML file.

Parameters

model_name: The name of the DBT model to analyze (required). max_depth: The maximum depth for the dependency tree (optional, default: 3). output: The name of the output HTML file (optional, default: "test.html").

Example

Analyze the tbl_acquisition_funnel model with a maximum depth of 3, and generate an output HTML file named dependency_tree.html:

dbt-lineage-viewer tbl_acquisition_funnel --max-depth 3 --output dependency_tree.html

Release files for dbt-lineage-viewer 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbt-lineage-viewer 1.0.4
File Size Uploaded
dbt_lineage_viewer-1.0.4.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dbt-lineage-viewer 1.0.4
File Interpreter ABI Platform
dbt_lineage_viewer-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / dbt_lineage_viewer-1.0.4.tar.gz

Download URL dbt_lineage_viewer-1.0.4.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b2a67e1d24c11b9d149e9fefdcfde48c55e60b4926f6d1fa7c77967cb2b59770
BLAKE2b-256 checksum
How to use checksums
e438acbb6cf8c99c53a384a6531cd00d1272db47ba0f9bcd1ed80a0bb31da0ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / dbt_lineage_viewer-1.0.4-py3-none-any.whl

Download URL dbt_lineage_viewer-1.0.4-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
981eb6a63ef68857a76b85ee2a423aed6e52aaa9b201e830a46806722aa4b97e
BLAKE2b-256 checksum
How to use checksums
c78b3b80043f66c56fdd11d85b51d0a93df1fd6634bb53a28110f06a23efa3d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page