Skip to main content

dlin

Crates.io PyPI Ask DeepWiki

dbt model lineage CLI. Parses SQL files directly or reads a compiled manifest.json. No Python required.

Works for developers navigating live SQL files, analysts exploring a shared manifest, AI agents via CLI prompt or MCP server, and CI pipelines.

Column-level lineage (dlin column upstream / dlin column downstream) requires a compiled manifest.json.

Motivation

When I edited dbt models in VS Code, dbt Power User was my go-to companion for navigating lineage. AI agents have no such companion. I watched them grep through dbt projects to find model dependencies. It works, but they end up calling grep repeatedly and relying on fragile string matching to piece together ref() and source() relationships.

dlin is designed to fill that gap: a CLI tool that lets AI agents understand a dbt project's structure without falling back to grep. It is equally useful for humans, and its stdin/stdout interface makes it easy to combine with jq, git diff, and other CLI tools.

To replace grep, speed and size matter. dlin is a small, self-contained binary with no runtime dependencies. It parses SQL directly, interprets the Jinja that selects dependencies without Python, parallelizes file I/O, and caches manifest and column-lineage analysis.

The key idea behind dlin is that finding the right models fast is what matters most. The hard part for agents is knowing which models to look at in the first place. dlin focuses on making model-level lineage fast and provides column-level lineage for deeper analysis.

Install

Cargo (Rust)

cargo install dlin

pip / uv (Python)

For convenience, dlin is also available as a Python package. The installed binary is native and does not require Python at runtime.

pip install dlin-cli   # or: uv tool install dlin-cli

GitHub Releases

Pre-built binaries for Linux, macOS, and Windows are available on the Releases page. You can also use the installer scripts:

macOS / Linux:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/eitsupi/dlin/releases/latest/download/dlin-installer.sh | sh

Windows (PowerShell):

powershell -ExecutionPolicy Bypass -c "irm https://github.com/eitsupi/dlin/releases/latest/download/dlin-installer.ps1 | iex"

Quick start

# Full lineage graph
dlin graph -p path/to/dbt/project

# Downstream impact analysis
dlin impact orders

# List models as JSON
dlin list -o json --json-fields unique_id,file_path

# Pipe changed files into lineage
git diff --name-only main | dlin graph -o json

Source modes

dlin supports two source modes for model-level commands.

SQL parse mode (default) is for developers editing a live dbt project. It interprets the Jinja in SQL files and in YAML dependency expressions to find ref() and source() calls without waiting for dbt compile, so model-level lineage quickly identifies the related models. Read the relevant SQL for exact transformation behavior.

Manifest mode (--source manifest) is for analysts or agents analyzing compiled state rather than editing live SQL. A developer compiles once and shares manifest.json; users explore the resolved graph without SQL or Python. Use column-level lineage when a field-level trace is needed; it requires the compiled manifest.

# SQL parse mode: reads SQL files directly (default)
dlin graph orders

# Manifest mode: reads manifest.json only
dlin graph orders --source manifest
dlin summary --source manifest

For model-name inputs, manifest.json is the only file needed in manifest mode. File-path inputs (e.g. models/foo.sql) fall back to standard dbt directory layout when dbt_project.yml is absent, which may not match projects with custom path configuration. (check-manifest always requires a full project.)

Limitations of SQL parse mode

  • var() resolves from vars.yml or dbt_project.yml, then its default (--vars CLI overrides not supported). Entries scoped to the root project take precedence over global entries. A selected Jinja string is rendered when called
  • env_var() uses its default and never reads the environment. A different value at run time can select a different dependency or branch than the one shown
  • Values known only at run time (target, env_var() without a default, run_query() results) do not select dependencies; execute is false, as when dbt parses the project
  • Calls through the root project namespace are resolved. An explicit adapter.dispatch() into that namespace is resolved when the same implementation wins for every adapter and no matching dispatch override applies. Other dispatch calls and external package macros (e.g. dbt_utils.*) can leave dependencies unresolved. The nodes concerned are reported as partial (see Completeness of model-level dependencies)
  • Generic test IDs are dlin-specific (e.g. test.not_null.orders.order_id) and do not match dbt's naming; use manifest mode when exact test IDs matter

When these limitations matter, use --source manifest.

AI agent integration

CLI approach

Recommended for developers with access to a live dbt project. Works with SQL parse mode (no dbt compile needed) as well as manifest mode.

Install dlin and add the following to your AGENTS.md, CLAUDE.md, or system prompt:

## dbt project structure analysis

Use `dlin` to explore dbt model dependencies.
Do NOT grep/cat/find through SQL files.

```bash
dlin summary                                           # Project overview (start here)
dlin graph <model> -u 2 -d 1 -q                        # Upstream/downstream lineage
dlin impact <model>                                    # Downstream impact with severity
dlin list -o json --json-fields unique_id,sql_content  # Read SQL content
git diff --name-only main | dlin graph -q              # Lineage of changed files
```

For full option reference: `dlin --help`, `dlin graph --help`, etc.

The key line is "Do NOT grep/cat/find through SQL files". Without it, agents default to familiar tools. dlin --help is designed for tool discovery, so the prompt can stay minimal.

MCP server (experimental)

For analysts and agents who work from a distributed manifest.json without access to the full project. Runs in manifest mode only.

dlin mcp exposes a stdio MCP server that AI assistants supporting MCP can connect to directly.

dlin mcp --manifest-path path/to/manifest.json

Tools return compact JSON as a single text result. Use get_project_summary to check manifest freshness and loading diagnostics. Lineage and impact results distinguish confirmed paths from possible paths and show where analysis could not continue. Request detail: "full" for paths and evidence, or follow page.next_cursor with the same query for more rows. Use include_sql: true with find_nodes to request compiled SQL.

The SQL dialect for column lineage is detected from the manifest's adapter_type; --dialect overrides it. Requires a compiled manifest.json (dbt compile).

Features

  • SQL parse mode: single binary, no Python, no manifest.json needed for model-level lineage
  • Manifest mode: works from manifest.json alone; useful for analysts or agents without a full project checkout
  • MCP server (experimental): dlin mcp serves lineage data via stdio MCP for direct AI assistant integration
  • Recursive upstream / downstream: -u N / -d N to control traversal depth
  • Impact analysis with severity: dlin impact scores downstream nodes and flags exposure reachability
  • Composable: stdin accepts model names or file paths; pipe with jq, dlin list, git diff, etc.
  • Agent-friendly: --error-format json emits structured {"level","what","why","hint"} on stderr; --help is designed for tool discovery
  • Column-level lineage: traces columns across models with transformation classification, reports partial results, where tracing stopped and the assumptions it relied on; requires manifest.json

Mermaid diagrams

dlin outputs Mermaid flowcharts that render natively on GitHub, GitLab, Notion, and other Markdown environments.

Simplified graphs with --collapse

Automatically remove intermediate nodes to see just the endpoints (nodes with no predecessors or no successors); everything in between becomes transitive "(via N)" edges:

# Collapse intermediate models; only endpoints remain
dlin graph --collapse -o mermaid

# Focal mode: keep only sources, exposures, and specified focus models
# (ignores BFS window pseudo-endpoints; works best with -u/-d limits)
dlin graph orders --collapse=focal -u 3 -o mermaid
flowchart LR
    exposure_weekly_report>"weekly_report"]
    model_combined_orders["combined_orders"]
    model_order_summary["order_summary"]
    source_raw_customers(["raw.customers"])
    source_raw_orders(["raw.orders"])
    source_raw_payments(["raw.payments"])

    source_raw_customers ==>|"exposure (via 2)"| exposure_weekly_report
    source_raw_orders ==>|"exposure (via 3)"| exposure_weekly_report
    source_raw_orders -.->|"source (via 1)"| model_combined_orders
    source_raw_orders -.->|"source (via 1)"| model_order_summary
    source_raw_payments ==>|"exposure (via 3)"| exposure_weekly_report
    source_raw_payments -.->|"source (via 1)"| model_order_summary

    classDef model fill:#4A90D9,stroke:#333,color:#fff
    classDef source fill:#27AE60,stroke:#333,color:#fff
    classDef exposure fill:#E74C3C,stroke:#333,color:#fff
    class exposure_weekly_report exposure
    class model_combined_orders model
    class model_order_summary model
    class source_raw_customers source
    class source_raw_orders source
    class source_raw_payments source

Positional focus models are always preserved during collapse, so dlin graph orders --collapse keeps orders even if it would otherwise be intermediate.

Pipe to build focused diagrams

Combine dlin list, jq, and dlin graph to extract exactly the nodes you want:

# Staging models → 1 hop downstream, models only, grouped by directory
dlin list -s 'path:models/staging' -o json | jq -r '.[].label' |
  dlin graph -d 1 --node-type model --group-by directory -o mermaid
flowchart LR
    subgraph models_marts["models/marts"]
        model_combined_orders["combined_orders"]
        model_customers["customers"]
        model_order_summary["order_summary"]
        model_orders["orders"]
    end
    subgraph models_staging["models/staging"]
        model_stg_customers["stg_customers"]
        model_stg_online_orders["stg_online_orders"]
        model_stg_orders["stg_orders"]
        model_stg_payments["stg_payments"]
        model_stg_retail_orders["stg_retail_orders"]
    end

    model_orders -->|ref| model_customers
    model_stg_customers -->|ref| model_customers
    model_stg_online_orders -->|ref| model_combined_orders
    model_stg_orders -->|ref| model_order_summary
    model_stg_orders -->|ref| model_orders
    model_stg_payments -->|ref| model_order_summary
    model_stg_payments -->|ref| model_orders
    model_stg_retail_orders -->|ref| model_combined_orders

    classDef model fill:#4A90D9,stroke:#333,color:#fff
    class model_combined_orders model
    class model_customers model
    class model_order_summary model
    class model_orders model
    class model_stg_customers model
    class model_stg_online_orders model
    class model_stg_orders model
    class model_stg_payments model
    class model_stg_retail_orders model

Column names in nodes with --show-columns

Add --show-columns to include column names inside Mermaid node labels, useful for understanding what each model produces at a glance:

dlin graph orders -u 1 -d 0 --show-columns --node-type model,source -o mermaid
flowchart LR
    model_orders["orders<br/>---<br/>order_id, customer_id, order_date, status, total_amount, payment_method"]
    model_stg_orders["stg_orders<br/>---<br/>order_id, customer_id, order_date, status"]
    model_stg_payments["stg_payments<br/>---<br/>payment_id, order_id, amount, payment_method"]

    model_stg_orders -->|ref| model_orders
    model_stg_payments -->|ref| model_orders

    classDef model fill:#4A90D9,stroke:#333,color:#fff
    class model_orders model
    class model_stg_orders model
    class model_stg_payments model

Combines well with --collapse to show rich detail on fewer endpoint nodes.

Other graph options

dlin graph orders -u 2 -d 1                            # focus on specific model
dlin graph -o mermaid --collapse --show-columns        # columns in collapsed nodes
dlin graph orders --collapse=focal -u 3 -o mermaid    # focal: sources + exposures + orders
dlin graph -o mermaid --group-by directory             # group by directory
dlin graph -o mermaid --direction tb                   # top-to-bottom layout
dlin graph --node-type source,exposure                 # filter by node type
dlin graph -o dot | dot -Tsvg > out.svg                # Graphviz rendering

Output formats: ASCII (default), JSON, Mermaid, Graphviz DOT, Plain, SVG, HTML.

Column-level lineage

dlin column upstream and dlin column downstream trace columns across models. They require a compiled manifest.json, so run dbt compile first. When a column cannot be traced completely, for example because of SQL syntax that is not supported yet or SELECT * over a relation whose columns are not known, the result is marked partial and says where and why tracing stopped instead of guessing; see Known limitations.

Output is JSON by default; -o plain is easier to read, and -o mermaid / -o dot draw diagrams.

# Where does each output column of orders come from?
dlin column upstream orders -o plain

# What downstream columns are affected if stg_orders.order_id changes?
dlin column downstream stg_orders --column order_id

# Mermaid flowchart
dlin column upstream customers -o mermaid
dlin column downstream stg_orders --column order_id -o mermaid

# Specific columns only
dlin column upstream orders --column order_id --column status

# Verify manifest freshness before querying
dlin check-manifest && dlin column upstream orders

Column upstream

Traces each output column of a model back to its source columns, following references across intermediate models. Output columns are listed in SQL order; duplicate names and identifier quoting are kept.

dlin column upstream customers --column order_count --column lifetime_value -o plain
customers (2 columns listed: 2 complete, 0 partial)
  order_count     →  raw.orders.id → stg_orders.order_id → orders.order_id (aggregation)
                       boundary: external relation at stg_orders.order_id for customers.order_count: raw.orders (source, policy: snapshot unsupported; seed external)
  lifetime_value  →  raw.payments.amount → stg_payments.amount → orders.total_amount (aggregation)
                       boundary: external relation at stg_payments.amount for customers.lifetime_value: raw.payments (source, policy: snapshot unsupported; seed external)
  assumes yaml:source.clp.raw.orders (YAML columns taken as exhaustive): order_count
  assumes yaml:source.clp.raw.payments (YAML columns taken as exhaustive): lifetime_value

Each column's lineage is complete, or partial when some contributions could not be resolved. A partial column keeps its known sources and lists the unresolved parts with a reason (for example a column hidden behind an unexpanded SELECT *, an ambiguous name, or unsupported syntax).

When an unexpanded star may also provide a column name, the unresolved binding is nonfatal. A known ambiguity still produces exit code 1.

A boundary line says where tracing stopped and why. Reaching a source, seed or other external relation, or a constant, is a legitimate end. A model that failed analysis, a missing definition, a cycle, an ambiguous model name or a snapshot is an incomplete stop, and the column stays partial.

An assumes line names a schema the result relies on without proof. By default, a column list declared in YAML is taken as the full list of columns, and the line shows which conclusions depend on that.

Transformation types: direct, aggregation, expression, cast, conditional, unknown.

Column downstream

Finds the downstream models and columns whose values depend on a column.

dlin column downstream stg_payments --column amount -o mermaid
flowchart LR
  subgraph sg0["customers"]
    n0_0["lifetime_value"]
  end
  subgraph sg1["order_enriched"]
    n1_0["amount"]
  end
  subgraph sg2["orders"]
    n2_0["total_amount"]
  end
  subgraph sg3["stg_payments"]
    n3_0["amount"]
  end

  n3_0 -->|"value direct"|n2_0
  n2_0 -->|"value aggregation"|n0_0
  n3_0 -->|"value direct"|n1_0

stg_payments.amount flows directly into orders.total_amount and order_enriched.amount, and orders.total_amount is aggregated into customers.lifetime_value.

Results are split into confirmed impacts, possible impacts reached through a finite set of candidates (such as an ambiguous name), and an exploration status that says whether the search was complete. No impact is concluded only when nothing is confirmed or possible and the exploration is complete. Only value dependencies are reported; columns used only in filter predicates and join conditions (row dependencies) are not collected yet.

Performance benchmark

Correctness-gated medians from the synthetic scalability run (10 runs after 2 warmups, 60-second timeout per run):

Workload dlin 0.3.0-rc.2, no cache / warm cache Parrant 0.21.1 dbt-meta 0.3.10 with sqlglot[c], build + query
Volume, 100,150 columns, single upstream 76.2 ms / 74.6 ms 24.5 s build >60 s timeout; query not run
Deep 64, single upstream 87.2 ms / 54.5 ms 823 ms 1.42 s + 341 ms
Fan-out 128, downstream 59.7 ms / 31.2 ms 1.14 s 2.51 s + 346 ms
Wide 200 columns × 8 models, single upstream 47.0 ms / 22.3 ms 813 ms 4.89 s + 339 ms

These synthetic results use artifacts derived from the real dbt fixture. Each time is a separate process, so it includes reading the artifacts. dlin "no cache" uses --no-cache and includes SQL analysis; "warm cache" reuses a cache filled once by the same query. Parrant has no persistent cache and includes parsing. dbt-meta builds a lineage artifact once and then queries it, so its end-to-end time is build plus query; for repeated queries over one build, compare its query time with dlin's warm cache. They are not a general ranking; see the full results and reproduction.

Known limitations

  • Requires dbt compile: no SQL parse mode fallback; manifest with compiled SQL is always needed
  • Value dependencies only: row dependencies (filter predicates, join conditions) are not collected
  • Partial results: SELECT * over relations without known columns, unsupported syntax and ambiguous names leave lineage partial. In JSON, check output.columns[].lineage.status, output.columns[].lineage.unresolved[], output.shape and boundaries[]; errors[] holds diagnostics such as parse failures
  • Nested field precision: a STRUCT field is traced to the inputs of that field when the SQL that builds the STRUCT is in the same query. Across dbt model boundaries, and through CAST, CASE, set operations, array subscripts or UNNEST of an array built elsewhere, lineage follows the containing column as a whole. For example, tracing s.x from a model that reads s from another model includes the inputs of s.y, even when the result is complete
  • YAML column lists are assumed complete: when a YAML column list is used as a schema, it is treated as exhaustive; results that rely on this cite it in evidence[] and show an assumes note in plain, Mermaid and DOT output
  • Dialect: auto-detected from the manifest's adapter_type; pass --dialect to override
  • Cache: results are cached in .dlin_cache/ (--no-cache and --refresh-cache control it)

Key subcommands

For graph, list, and impact, an exact unique ID takes precedence. A short name prefers models when other node types share the name. If multiple candidates remain, the command reports their IDs and asks you to specify one. --node-type filters the output, and --select matches a set of nodes.

Focused SQL graph queries can report exploration.status: "incomplete" with upstream gaps. Consumer gaps give the node ID, its shortest depth from a focus, and the reasons. Consumers at the depth limit are excluded. Project gaps include skipped inputs and have no consumer or depth. Output filters do not hide diagnostics. Text formats summarize gaps on stderr, with details under --verbose.

MCP get_lineage uses the same format. Manifest queries use the declared dependencies. The absence of exploration does not prove completeness.

An SQL file path selects the node with that file path by unique ID, even when other packages have a model with the same name. If multiple nodes share the path, dlin reports their IDs so you can select one. YAML paths expand to resource names.

list

dlin list                                                   # all models and sources
dlin list orders -o json --json-fields unique_id,file_path  # specific model as JSON
dlin list --node-type source                                # sources only

impact

By default, impact reports every downstream node type except tests. A test is the end of a path in dbt: nothing can ref() it, so it never leads to another node. Use --node-type to choose the types to report, such as --node-type model,test or --node-type test; it replaces the default. MCP get_impact takes the same selection as a node_types array. Paths and distances still pass through nodes of any type.

Reports include the effective node_types. In JSON, each of affected_models, affected_tests, and affected_exposures is null when its type is outside the selection. overall_severity is null when no selected node was reached. Exposure paths are reported only when exposures are selected.

$ dlin impact orders
Impact Analysis: orders
==================================================
Node Types: model, source, seed, snapshot, exposure, semantic_model, metric, saved_query
Overall Severity: CRITICAL

Summary:
  Affected models:    1
  Affected tests:     out of scope
  Affected exposures: 1

Impacted Nodes:
  [critical] weekly_report (exposure, distance: 1)
  [high    ] customers (model, distance: 1) [models/marts/customers.sql]

Completeness of model-level dependencies

dlin reports where it could not analyse the model-level dependencies (ref(), source(), tests, exposures), so a program can tell whether a result may be missing something.

  • Each node has dependency_analysis in list JSON (by default), in graph JSON (with --json-full or --json-fields dependency_analysis) and in impact JSON. Its status is complete or partial; unresolved lists a typed reason for each part that could not be analysed. complete means that, under dlin's evaluation rules, no part was left unresolved. In particular, env_var() is evaluated with its default, so a different value at run time can select another dependency; check run-time dependencies with a manifest generated for that environment.
  • Each impact report has exploration, which says whether the reached nodes can be missing a node. It is complete when there are no gaps that could hide a node of a selected type. Node-level gaps come from unreached targets or their unreached dependencies. Skipped inputs and project-wide unassessed scopes still count. Otherwise gaps lists why. An empty exploration means the search did not run, as for an input that is an unresolved reference. Manifest mode takes the manifest's dependencies as they are, so its exploration is always incomplete with not_assessed (manifest_dependencies).
  • complete concerns the reached set only. It does not confirm that each reached node is affected, nor the distances or paths. It is relative to the project and the paths it configures: a configured path that does not exist is a warning, not a gap.
  • A node whose analysis is complete says nothing about the project as a whole: an input that could not be read is not attributed to any node. Do not conclude that a project is fully analysed because every listed node is complete.
  • A reason states that something was not analysed, not that a dependency is missing.

On stderr, a command that builds the graph prints, once and before any filtering:

  • at most one configuration warning, such as a path in dbt_project.yml that does not exist;
  • one dependency_analysis_summary when any node has reasons or any project gap remains. It counts the whole project: partial_nodes (as in node JSON), not_assessed_nodes (the partial nodes whose only reasons are not_assessed), reasons by type and namespace, and project gaps. It is a warning when a node is partially analysed or an input was skipped, and info when only scopes are not assessed, as in manifest mode. It is not the exploration of any impact report.

--verbose adds one diagnostic per reason, with its node and call site, one per project gap, and the info diagnostics for default paths that do not exist. --quiet suppresses all of them. With --error-format json, these diagnostics carry a code and typed fields next to level, what, why and hint; read the code and the fields, not the text.

Using impact in CI

To accept "no impact" only when it is proved, check every condition, not only an empty impacted_nodes. The proof covers only the report's node_types, which exclude tests by default; add --node-type if your check must cover tests too. The first definition rejects an exploration whose status and gaps disagree:

dlin impact orders -o json -q > impact.json && jq -e --arg id model.orders '
  def consistent:
    (.gaps | type == "array")
    and ((.status == "complete" and (.gaps | length == 0))
         or (.status == "incomplete" and (.gaps | length > 0)));
  def model_explorations: [.exploration[] | select(.kind == "model_dependency")];
  length == 1
  and (.[0] | .source_node.unique_id == $id
      and (.impacted_nodes | type == "array" and length == 0)
      and (model_explorations | length > 0
           and all(.[]; consistent and .status == "complete")))
' impact.json

The MCP proves_no_impact field uses the same scope and requires a complete exploration. Checking source_node.unique_id catches an input that did not resolve to the node you meant; with several inputs, check each report. impact succeeds when at least one input is found and no input is ambiguous. Its exit code does not depend on completeness.

You may decide, after checking them, that some reasons do not hide a dependency in your project. To proceed despite them, accept a gap only when every one of its reasons matches a rule you have checked, and reject everything else, including reason and gap types you do not know. For example, to accept calls through the dbt namespace:

jq -e --arg id model.orders '
  def consistent:
    (.gaps | type == "array")
    and ((.status == "complete" and (.gaps | length == 0))
         or (.status == "incomplete" and (.gaps | length > 0)));
  def accepted:
    .type == "unresolved_dependencies"
    and (.reasons | type == "array" and length > 0)
    and all(.reasons[]; .type == "unsupported_macro_namespace" and .namespace == "dbt");
  def model_explorations: [.exploration[] | select(.kind == "model_dependency")];
  length == 1
  and (.[0] | .source_node.unique_id == $id
      and (model_explorations | length > 0
           and all(.[]; consistent and all(.gaps[]; accepted))))
' impact.json

Accepting gaps is a decision to take the risk; it does not prove that the change has no impact. The namespace is the name written in the call, not the package that owns the macro, so a namespace alone does not make a call safe. Before accepting a rule, check that the macro and the macros it calls read no ref() or source(), and that no argument, branch or dispatch inside them selects a dependency.

In the table, miss means the graph may lack a dependency, and wrong edge that an edge dlin kept may not be the one dbt uses.

Reason type Meaning May Check
unresolved_ref, unresolved_source The target could not be resolved in the searched paths miss The name, or that its file is in a searched path
invalid_dependency_call ref() or source() with arguments that are not valid miss The call
generic_test_body_not_analyzed The body of a generic test macro is not analysed; its YAML arguments are evaluated, and may carry reasons of their own miss Whether the test macro reads other models
unsupported_dependency_expression, dependency_target_missing An exposure depends_on entry that is not supported or names nothing miss The entry
unresolved_var A var() without a value or default selects a dependency miss, wrong edge Set the variable or give a default
cyclic_var_template A variable template reads a configured variable whose template is still rendering miss, wrong edge Break the cycle between variable templates
runtime_value_unknown A value known only when dbt runs (target, env_var() without a default, run_query(), ...) selects a dependency miss, wrong edge A manifest generated for that environment
unsupported_dispatch The implementation selected by adapter.dispatch() could not be determined miss, wrong edge The dispatched implementations
unsupported_macro_namespace A macro called through a namespace (dbt_utils.star(), dbt.type_string()) is not analysed miss, wrong edge That macro, as described above
unresolved_call A call whose callee could not be identified miss, wrong edge That the macro is defined in a searched path
macro_reachability_unknown The macros a call can reach could not be determined miss, wrong edge Which macro the call selects
unsupported_jinja_construct A Jinja construct the analysis does not model miss, wrong edge That part of the template
jinja_render_failed The template could not be interpreted miss, wrong edge The template syntax
analysis_limit_reached The analysis stopped at a recursion, parser, or work limit miss, wrong edge Check recursive macros and large or deeply nested variable templates
unsupported_ref_package A ref() naming a package, resolved by name only miss, wrong edge That the edge goes to the intended node
ambiguous_ref A ref() matching several nodes (candidates); the edge goes to one of them miss, wrong edge Rename one of them
not_assessed The node's dependencies are not assessed at all (scope: manifest_dependencies, semantic_dependencies, or phantom_dependencies on phantom nodes, which is never a gap) anything

A reason does not establish that an edge is wrong or that one is missing. Literal ref() calls under a condition dlin cannot evaluate still produce edges, so impacted_nodes may include nodes that are not affected.

A skipped input (input_skipped: a file that could not be listed, read or parsed) belongs to no node. Besides the dependencies it holds, it can change how names and macros resolve elsewhere, so it is included in impact and in focused graph queries that can traverse upstream.

Filtering

dlin graph -s tag:finance,path:marts  # selector expressions (union)
dlin graph --node-type model,source   # filter by node type

Credits

Hard fork of dbt-lineage-viewer by Simon Muller (MIT license). The original focused on TUI-based exploration; dlin removes the TUI and targets non-interactive use: scripting, CI, and AI agents.

License

MIT

Metadata

Release files for dlin-cli 0.3.0

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

Source distribution (sdist)

Source distribution for dlin-cli 0.3.0
File Size Uploaded Provenance Actions
dlin_cli-0.3.0.tar.gz 915.4 kB Without provenance Details for dlin_cli-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dlin-cli 0.3.0
File Actions
dlin_cli-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for dlin_cli-0.3.0-py3-none-win_amd64.whl
dlin_cli-0.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for dlin_cli-0.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
dlin_cli-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for dlin_cli-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
dlin_cli-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for dlin_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
dlin_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for dlin_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 43.3 MB

Release files / dlin_cli-0.3.0.tar.gz

Download URL dlin_cli-0.3.0.tar.gz
Size 915.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af38c34f9d0b3680de946a7d3ec10361645f6061f90f9c3db11fa7aabf6fc7cf
BLAKE2b-256 checksum
How to use checksums
980cda7320d286e28c99ec10689446f042240c0934bb33426069c23df976120e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dlin_cli-0.3.0-py3-none-win_amd64.whl

Download URL dlin_cli-0.3.0-py3-none-win_amd64.whl
Size 8.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4e94824f17bf18ab35801c705c6c3104d404fd32cdc404026377750124e4edfd
BLAKE2b-256 checksum
How to use checksums
82c8fa0e13d7f3dc1cbce9e106efdf8d853ba8b0e913a08f6ba230b1d177b471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dlin_cli-0.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL dlin_cli-0.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 8.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
348dda56c50e9e873db0215b7949154d101085911951361c06ebcdc999dd20ee
BLAKE2b-256 checksum
How to use checksums
130e4a7e09b2f1c2fbe896cf2daf9574c3e9c34dfc9c1fac0b42e6e4509d1993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dlin_cli-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL dlin_cli-0.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 8.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
84b12d118a03d37b418262ce328ba94f470befe7c23c0dd29b8d0c9478053af6
BLAKE2b-256 checksum
How to use checksums
07cbd88157e3be0f7740ed4f57224a5fb8738f13f697d42f58f7fdced7997a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dlin_cli-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL dlin_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 8.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0b74fd9897b6bb5e58ee118fd599f15e2a14db0bfb6e2cc5ca65a86e5ec24111
BLAKE2b-256 checksum
How to use checksums
91da088af5b3689ea92f5cd508e860d60caf4882894118362e51da05917cabb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dlin_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl

Download URL dlin_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl
Size 8.5 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
175667329461de3b3ae375d0900bee8734b4774d7adcdb64f0ada4620b577ffe
BLAKE2b-256 checksum
How to use checksums
b9a9d4a8d47cc42e45b71752d4c8e157bae9d1b0a5561e540f8da4c7a2941c8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dlin-cli 0.3.0

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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

6 release files No provenance

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