openlineage-sql
Python interface for the Rust OpenLineage lineage extraction library
Decision gist · record as of 2026-08-14
Yes, if you are building or extending an OpenLineage-compatible system that needs SQL lineage extraction. The package is actively maintained, has no known vulnerabilities, and supports current Python versions. However, verify the license terms first (currently unclear in metadata) and confirm it integrates with your broader lineage platform—it is a library component, not a standalone tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Installation pulls a pre-compiled Rust binary; verify platform support (macOS, Linux x86_64, aarch64) before installing.
- Medium install friction due to compiled wheels (Rust-based).
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or restricted contexts.
last release 2026-07-23 (22 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,002,642 downloads/mo, #1,570 on PyPI
Alternatives
Verify before relying
pip install openlineage-sql
import openlineage_sql
# Typically used as a dependency within an OpenLineage integration, not directly- What is the actual open-source license under which this package is distributed?
- Is this package intended to be used directly by end-users or only as a dependency of other OpenLineage tools?
- What SQL dialects and lineage scenarios does the parser support?
What it is and what it does
openlineage-sql is a Python wrapper around a Rust SQL parser designed to extract lineage metadata from SQL queries in accordance with the OpenLineage specification. It exposes the parser's functionality to Python applications without introducing runtime dependencies, relying instead on pre-compiled binary wheels for different platforms and architectures.
The package is positioned as a library component rather than a standalone tool—the documentation explicitly notes it is not meant to be used alone by end-users. It is typically integrated into larger data governance, metadata management, or ETL orchestration systems that need to track data flow through SQL operations. Installation requires Python 3.10 or later and will pull a platform-specific compiled binary.
Use it for
- Extract table and column lineage from SQL queries in data pipeline orchestration tools.
- Integrate SQL parsing into metadata collection systems that track data provenance across warehouses.
- Build data governance dashboards that need to understand upstream and downstream dependencies in SQL workloads.
- Embed lineage extraction in ETL frameworks that need OpenLineage-compliant metadata output.
- Analyze SQL dependencies in data catalogs or lineage visualization platforms.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or extending an OpenLineage-compatible system that needs SQL lineage extraction.
The package is actively maintained, has no known vulnerabilities, and supports current Python versions. However, verify the license terms first (currently unclear in metadata) and confirm it integrates with your broader lineage platform—it is a library component, not a standalone tool.
Install
openlineage-sql on PyPI
Before you install
Medium install friction due to compiled wheels (Rust-based). Active maintenance with recent release (22 days old). Supports modern Python versions (3.10–3.13) and both CPython and PyPy implementations.
Requires Python 3.10 or later. Installation pulls a pre-compiled Rust binary; verify platform support (macOS, Linux x86_64, aarch64) before installing.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pip install openlineage-sql
import openlineage_sql
# Typically used as a dependency within an OpenLineage integration, not directly
Verify before relying
- What is the actual open-source license under which this package is distributed?
- Is this package intended to be used directly by end-users or only as a dependency of other OpenLineage tools?
- What SQL dialects and lineage scenarios does the parser support?
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 22 days since the last release |
| First released | |
| Downloads | 9,002,642 / month, #1,570 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust |
Evidence: openlineage_sql-1.52.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; openlineage_sql-1.52.0-cp310-abi3-manylinux_2_28_aarch64.whl; openlineage_sql-1.52.0-cp310-abi3-manylinux_2_28_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “SQL lineage extraction”
- openlineage-sqlProvides a Python interface to a Rust-based SQL parser for extracting…
- collate-sqllineageAnalyzes SQL statements to extract source and target tables,…
- sqllineageSQLLineage parses SQL statements to extract and visualize data…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also openlineage-python · sqllineage · openlineage-dbt · openlineage-airflow · collate-sqllineage · apache-airflow-providers-openlineage · dbt-colibri · openlineage-integration-common · mapfile_parser · sqlfluffrs