Skip to main content

A column lineage parser and dashboarding tool

Project description

dbt-colibri header

PyPI version Python Support License: MIT

A lightweight, developer-friendly CLI tool and self-hostable dashboard for extracting and visualizing column-level lineage from your dbt projects.

Built for data teams who want transparent, flexible lineage tracking without vendor lock-in or complex enterprise tooling.

Why dbt-colibri?

  • 🔍 Complete visibility: Easy UI, track how every column flows through your dbt transformations
  • ⚡ Fast & lightweight: Generate reports in seconds from your existing dbt artifacts
  • 🏠 Self-hosted: No cloud dependencies or external services required

Live demo of dashboard: https://demo.colibri-data.com/

Documentation site: https://www.colibri-data.com/docs

dbt-colibri dashboard

Quick Start

Installation

# Using uv (recommended)
uv add dbt-colibri

# Using pip
pip install dbt-colibri

Basic Usage

  1. Run dbt to generate the required artifacts:

    dbt compile
    dbt docs generate
    
  2. Generate lineage report:

    colibri generate
    
  3. View results: Open dist/index.html in your browser

That's it! Your column lineage dashboard is ready. Note you can also use dbt run/build, to generate the manifest.json.

Documentation

CLI Commands

colibri generate

Generates column lineage reports from your dbt project.

colibri generate [OPTIONS]

Options:

  • --manifest: Path to dbt manifest.json (default: target/manifest.json)
  • --catalog: Path to dbt catalog.json (default: target/catalog.json)
  • --output-dir: Output directory (default: dist/)
  • --help: Show help message
  • --light: For very big dbt projects, excludes attributes like compiled SQL and returns smaller HTML file.

Output Files

  • colibri-manifest.json: Lineage data
  • index.html: Interactive (standalone) visualization dashboard

Project Structure

your-dbt-project/
├── target/
│   ├── manifest.json    # Generated by dbt
│   └── catalog.json     # Generated by dbt docs generate
└── dist/                # Generated by colibri
    ├── index.html       # Interactive dashboard
    └── colibri-manifest.json

Advanced Usage

CI/CD Integration

The easiest way to deploy your static html is through github/gitlab pages (if you are on enterprise license you can do this privately)

You can find the full example workflow at docs/github_pages_example.yml.

General idea

  1. After every change to the production dbt code (push the main branch), GitHub Actions will:
    • Set up Python and install dependencies with uv.
    • Compile and generate docs needed for colibri.
    • Run colibri generate to build the static HTML report in the dist/ folder.
  2. The dist/ folder is uploaded as an artifact and deployed natively to GitHub Pages using the official actions/deploy-pages action.
  3. The result is available at your repository’s Pages URL.

Gitlab has similar functionality. Other options are writing the file to a bucket and mount it into a web server container (nginx).

Technical Details

Requirements

  • Python: tested on versions 3.9, 3.11, 3.13

  • Supported dbt Adapters:

    • Snowflake,
    • BigQuery,
    • Redshift,
    • duckDB,
    • Postgres
    • Databricks (limited to SQL models)
    • Athena
    • Trino
    • SQL Server (TSQL)
    • ClickHouse

dbt Compatibility

dbt-core Version Status
1.8.x ✅ Tested
1.9.x ✅ Tested
1.10.x ✅ Tested

Architecture

dbt-colibri leverages:

  • SQLGlot for SQL parsing and column lineage extraction
  • dbt artifacts (manifest.json, catalog.json) for metadata
  • Static HTML/JS for zero-dependency dashboard deployment

Contributing

We welcome contributions! Raise an issue or request a feature, if you are open to contribute you can let us now in the issue.

Development Setup

# Clone the repository
git clone https://github.com/your-org/dbt-colibri.git
cd dbt-colibri

# Install development dependencies
uv sync --dev

# Run tests
pytest

# Format code
ruff format

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project builds upon excellent open source work:


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_colibri-0.2.9b1.tar.gz (969.8 kB view details)

Uploaded Source

Built Distribution

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

dbt_colibri-0.2.9b1-py3-none-any.whl (955.3 kB view details)

Uploaded Python 3

File details

Details for the file dbt_colibri-0.2.9b1.tar.gz.

File metadata

  • Download URL: dbt_colibri-0.2.9b1.tar.gz
  • Upload date:
  • Size: 969.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dbt_colibri-0.2.9b1.tar.gz
Algorithm Hash digest
SHA256 3f462eb4e7d65d605b1e77950fc69f259743741ea4e152390b2a0f5fc1c94d92
MD5 27545a73f95b7a0c2105909748411398
BLAKE2b-256 dcf9a5340065646a7d158126e100926b7b72c1dcb38faca0bb7d54f2e7469415

See more details on using hashes here.

File details

Details for the file dbt_colibri-0.2.9b1-py3-none-any.whl.

File metadata

  • Download URL: dbt_colibri-0.2.9b1-py3-none-any.whl
  • Upload date:
  • Size: 955.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dbt_colibri-0.2.9b1-py3-none-any.whl
Algorithm Hash digest
SHA256 acdcbdaee816d833c2c2a562c46cf3f82133f37351e07bd80bc4290bd5cd9f4f
MD5 ed05a09e7eccc4e493162c02fadefb3e
BLAKE2b-256 c66eaa4c9e5cb6327a0f158465dc997b170dbe5b3e5b798dc0be8d078dc9e8b5

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