--- id: openlineage-sql version: "1.52.0" license: unclear license_treatment: unclear maintenance: active --- # openlineage-sql — Python interface for the Rust OpenLineage lineage extraction library License: unclear · Maintenance: active · Downloads: 9.0M/mo ## 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 above — verify before relying. Provides a Python interface to a Rust-based SQL parser for extracting data lineage information compatible with the OpenLineage standard. 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 pip install openlineage-sql uv add openlineage-sql poetry add openlineage-sql ## Installing openlineage-sql 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. 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 Requires Python 3.10 or later. Installation pulls a pre-compiled Rust binary; verify platform support (macOS, Linux x86_64, aarch64) before installing. 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_current - Install friction: medium - Maintenance: active - Downloads: 9.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags SQL lineage extraction, data lineage parsing, openlineage SQL parser, lineage metadata extraction, SQL dependency analysis, data provenance tracking, lineage integration library, lineage-extraction, rust-binding, metadata-management [View on SkillFed](https://skillfed.io/packages/openlineage-sql) · [View on PyPI](https://pypi.org/project/openlineage-sql/)