47 releases (20 breaking)

new 0.46.0 Jan 26, 2025
0.45.1 Dec 9, 2024
0.44.2 Nov 1, 2024
0.41.3 Jul 2, 2024
0.2.1 Oct 28, 2022

#274 in Database implementations

Download history 19854/week @ 2024-10-09 20189/week @ 2024-10-16 19444/week @ 2024-10-23 18656/week @ 2024-10-30 18857/week @ 2024-11-06 20110/week @ 2024-11-13 16922/week @ 2024-11-20 17826/week @ 2024-11-27 20228/week @ 2024-12-04 22144/week @ 2024-12-11 17828/week @ 2024-12-18 12389/week @ 2024-12-25 16277/week @ 2025-01-01 23048/week @ 2025-01-08 22506/week @ 2025-01-15 19331/week @ 2025-01-22

82,875 downloads per month
Used in 115 crates (6 directly)

MIT license

5.5MB
135K 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

~29–60MB
~1M SLoC