{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"Provides a Python interface to construct, manipulate, and serialize Substrait Plans\u2014cross-language specifications for data compute operations\u2014for consumption by engines like DuckDB or DataFusion.","skillfed_tags":["query-planning","cross-language-spec","data-compute"],"use_cases":["Build query plans in Python and pass them to DuckDB or DataFusion for execution.","Parse and inspect Substrait plans received from other producers like Ibis.","Serialize plans to binary or JSON for transmission or storage across language boundaries.","Construct complex data operations programmatically using the fluent DataFrame API.","Integrate Substrait plan generation into Python data pipelines or query optimization tools."],"what_it_does":"Substrait is a Python binding for the Substrait specification, a cross-language standard for representing data compute operations. It lets you build query plans programmatically in Python and serialize them for execution by Substrait-compatible engines like DuckDB or DataFusion. The package offers two main APIs: a high-level DataFrame interface (similar to Polars or PySpark) for ergonomic plan authoring, and lower-level proto and builder layers for fine-grained control. Plans can be constructed from scratch, parsed from binary or JSON representations, or consumed from other Substrait producers like Ibis.\n\nThe package is experimental and actively developed. It depends on protobuf for serialization and substrait-protobuf for the core message definitions. It is not an execution engine itself\u2014it is purely a plan builder and consumer. The DataFrame API is the recommended approach for hand-authored plans, while the proto layer provides direct access to the underlying Substrait message types for advanced use cases.","worth_installing":"Yes, if you need to generate or consume Substrait plans in Python. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it safe to adopt. The DataFrame API is approachable for typical use cases. Not suitable if you need plan execution\u2014use it only as a builder for engines that consume Substrait."},"id":"substrait","links":{"html":"https://skillfed.io/packages/substrait","md":"https://skillfed.io/packages/substrait.md","pypi":"https://pypi.org/project/substrait/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-29","license_spdx":null,"license_treatment":"permissive","name":"substrait","python_support":"supports_current","summary":"A python package for Substrait."},"popularity":{"monthly_downloads":326474,"position":7575,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.30.0"}
