LineageScope¶
Static analysis for data pipelines โ point it at a repo to discover SQL, dbt, Airflow, Spark, and ODCS contracts. No warehouse or cloud account required.
- Lineage
- Quality gates
- CI-ready JSON
Explore¶
Getting started
Install, first scan, JSON output, and HTML report path.
Configuration
CLI flags,
--exclude, env vars, dbt meta, CODEOWNERS.
Analyzers
Dead assets, tests, docs, complexity, ownership, contracts, cost hints.
CI/CD
lineagescope ci, GitHub Action, jq gates, diff.
Contributing
Dev setup, tests, Ruff, and how to extend the project.
Changelog
Release history (synced from the repo CHANGELOG.md).
Features¶
- Lineage graph (NetworkX) โ cycles, orphans, fan-out, critical path.
- Analyzers โ dead assets, test/doc coverage, SQL/graph complexity, ownership (CODEOWNERS / dbt
meta.owner/ git), ODCS compliance, static cost-pattern hints. - Outputs โ Rich terminal report, JSON for automation, HTML with D3 lineage and score trends.
- Workflows โ
.lineagescope/snapshots/,lineagescope diffvs any git ref,lineagescope ciwith thresholds and GitHub Actions annotations.
Repository
Source and issues: github.com/kirannarayanak/lineagescope ยท Docs are built with MkDocs Material and deploy to GitHub Pages.