{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"SQLLineage parses SQL statements to extract and visualize data lineage\u2014identifying source tables, target tables, and intermediate tables involved in data transformations.","skillfed_tags":["data-lineage","sql-analysis","data-governance"],"use_cases":["Audit data pipelines by tracing which source tables feed into a target table through multiple transformation steps.","Generate data governance documentation showing column-level lineage for compliance and impact analysis.","Detect unused intermediate tables or orphaned source tables in a multi-statement ETL script.","Visualize DAG of table dependencies to understand data flow in complex SQL workflows.","Resolve column ambiguities in JOIN-heavy queries by connecting to live database metadata."],"what_it_does":"SQLLineage is a Python tool that analyzes SQL statements to extract data lineage\u2014the flow of data from source tables through transformations to target tables. It abstracts away the complexity of SQL parsing by using pluggable parsers (sqlfluff and sqlparse) and stores lineage information in a graph structure using networkx. The tool works at both table and column levels, identifying which tables are read and written, and tracking individual column transformations across joins, aggregations, and CTEs.\n\nYou can use it as a command-line tool to analyze SQL files or inline queries, or import it as a library in Python code. It supports dialect-aware parsing, can optionally integrate with live database metadata via sqlalchemy to resolve wildcards and ambiguous column references, and includes graph visualization of lineage as a DAG. It handles multiple SQL statements in sequence, identifying intermediate tables that serve as both targets and sources.","worth_installing":"Yes. SQLLineage is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem in data governance and pipeline auditing. The MIT license imposes no restrictions. It is suitable for production use in both open-source and commercial contexts."},"id":"sqllineage","links":{"html":"https://skillfed.io/packages/sqllineage","md":"https://skillfed.io/packages/sqllineage.md","pypi":"https://pypi.org/project/sqllineage/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-16","license_spdx":"MIT","license_treatment":"permissive","name":"sqllineage","python_support":"supports_current","summary":"SQL Lineage Analysis Tool powered by Python"},"popularity":{"monthly_downloads":1725919,"position":3611,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.5.8"}
