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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dbt_lineage_viewer-1.0.4.tar.gz | 4.5 kB | Without provenance | Details for dbt_lineage_viewer-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dbt_lineage_viewer-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for dbt_lineage_viewer-1.0.4-py3-none-any.whl |
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
|
Security for dbt-lineage-viewer 1.0.4
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.