{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Analyzes SQL statements to extract source and target tables, intermediate tables, and column-level lineage, using pluggable parsers (sqlfluff or sqlparse) and networkx for graph representation.","skillfed_tags":["data-lineage","sql-parsing","metadata-extraction"],"use_cases":["Extract source and target tables from INSERT, SELECT, and CREATE statements to understand data dependencies in a pipeline.","Analyze multi-statement SQL scripts to identify intermediate tables and trace end-to-end data flow from raw sources to final outputs.","Track column-level lineage to see which source columns contribute to each target column in complex transformations.","Visualize SQL data lineage as a directed graph to document data flow for data governance or impact analysis.","Validate SQL syntax across different database dialects (PostgreSQL, BigQuery, Snowflake, etc.) and catch keyword conflicts.","Integrate lineage extraction into data cataloging or metadata management systems to automatically populate table dependencies."],"what_it_does":"collate-sqllineage is a SQL lineage analysis tool that parses SQL statements and identifies which tables are read from (sources), written to (targets), and any intermediate tables created during multi-statement execution. It abstracts away the complexity of SQL parsing by using pluggable backends\u2014sqlfluff or sqlparse\u2014to build an abstract syntax tree, then stores the lineage relationships in a graph using networkx. You can use it as a command-line tool to analyze SQL files or query strings, or import it as a Python library to programmatically extract lineage data.\n\nThe package supports multiple SQL dialects, column-level lineage tracking (showing which source columns flow into which target columns), and can visualize the resulting data flow as a directed acyclic graph in a browser. It identifies intermediate tables when analyzing multiple statements in sequence, making it useful for understanding complex data pipelines. This is a fork of the original sqllineage project, maintained by the OpenMetadata community with added sqlfluff support.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a concrete problem\u2014extracting data lineage from SQL without manual parsing. Use it if you need to understand table dependencies, build data catalogs, or visualize SQL data flow. The permissive MIT license removes licensing concerns."},"id":"collate-sqllineage","links":{"html":"https://skillfed.io/packages/collate-sqllineage","md":"https://skillfed.io/packages/collate-sqllineage.md","pypi":"https://pypi.org/project/collate-sqllineage/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-25","license_spdx":null,"license_treatment":"permissive","name":"collate-sqllineage","python_support":"supports_current","summary":"Collate SQL Lineage for Analysis Tool powered by Python and sqlfluff based on sqllineage."},"popularity":{"monthly_downloads":1468745,"position":3872,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.4"}
