47 releases (20 breaking)

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

#421 in Database implementations

Download history 20077/week @ 2024-12-05 23216/week @ 2024-12-12 15082/week @ 2024-12-19 12177/week @ 2024-12-26 18391/week @ 2025-01-02 24455/week @ 2025-01-09 21786/week @ 2025-01-16 23184/week @ 2025-01-23 24699/week @ 2025-01-30 65320/week @ 2025-02-06 117928/week @ 2025-02-13 139558/week @ 2025-02-20 156422/week @ 2025-02-27 138717/week @ 2025-03-06 133901/week @ 2025-03-13 98076/week @ 2025-03-20

552,327 downloads per month
Used in 157 crates (17 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

~30–60MB
~1M SLoC