46 releases (19 breaking)

0.45.1 Dec 9, 2024
0.44.2 Nov 1, 2024
0.41.3 Jul 2, 2024
0.38.3 Mar 18, 2024
0.2.1 Oct 28, 2022

#299 in Database implementations

Download history 19853/week @ 2024-09-24 18820/week @ 2024-10-01 19798/week @ 2024-10-08 19960/week @ 2024-10-15 19701/week @ 2024-10-22 18296/week @ 2024-10-29 19053/week @ 2024-11-05 20420/week @ 2024-11-12 17090/week @ 2024-11-19 17155/week @ 2024-11-26 20154/week @ 2024-12-03 22285/week @ 2024-12-10 19360/week @ 2024-12-17 12746/week @ 2024-12-24 14210/week @ 2024-12-31 19123/week @ 2025-01-07

69,386 downloads per month
Used in 110 crates (6 directly)

MIT license

7MB
173K SLoC

polars-sql

polars-sql is a sub-crate of the Polars library, offering a SQL transpiler. It allows for SQL query conversion to Polars logical plans.

Usage

To use polars-sql, add it as a dependency to your Rust project's Cargo.toml file:

[dependencies]
polars-sql = "0.30.0"

You can then import the crate in your Rust code using:

use polars_sql::*;

Important Note: This crate is not intended for external usage. Please refer to the main Polars crate for intended usage.


lib.rs:

Polars SQL This crate provides a SQL interface for Polars DataFrames

Dependencies

~27–57MB
~1M SLoC