Skip to main content

CLI tool for navigating and understanding dbt projects

Project description

dbt-lens

CLI tool for navigating and understanding dbt projects. Read your manifest.json and get instant answers about impact, lineage, and project health.

Install

pip install dbt-lens

Quick Start

# Generate your manifest first
dbt compile

# See what breaks if you change a model
dbt-lens impact stg_shopify_orders

# Trace upstream lineage back to sources
dbt-lens upstream mrt_daily_revenue

# Find models, columns, macros
dbt-lens find "subscription churn"

# Project health report
dbt-lens health

Commands

Command Description
impact <model> Show downstream models/tests affected by a change
upstream <model> Trace a model back to its sources
find <query> Fuzzy search across models, columns, macros
health Project health: test coverage, doc gaps, model sizes

Global Options

Option Default Description
--manifest PATH target/manifest.json Path to manifest.json
--format terminal|json terminal Output format

Requirements

  • Python >= 3.9
  • dbt-core >= 1.4 (manifest v7+)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_lens-0.2.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbt_lens-0.2.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file dbt_lens-0.2.0.tar.gz.

File metadata

  • Download URL: dbt_lens-0.2.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for dbt_lens-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e3e49769192126579e659dad934956418e3b2320f6410b318a7965d8223fb1fc
MD5 48dff03a5af8034e1360b4c812e2b057
BLAKE2b-256 377c0143ce39b48feb67349ebc20c50798081bf4c802fce69cefceb7e7600a6d

See more details on using hashes here.

File details

Details for the file dbt_lens-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_lens-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for dbt_lens-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef635921ef378c5719262e9ba266df84abb6246698cd3c88bf0c23f1ecc16604
MD5 34818ba6ca1d5225ab30bd477227e982
BLAKE2b-256 868bf6b83a5affaf6532182b667b93d3c227ffa4856f3c9dd93ffc2a5a27e4eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page