34 releases (14 breaking)

new 0.40.0 May 21, 2024
0.38.3 Mar 18, 2024
0.35.4 Nov 19, 2023
0.31.1 Jul 15, 2023
0.2.1 Oct 28, 2022

#113 in Database implementations

Download history 15238/week @ 2024-02-02 17712/week @ 2024-02-09 17569/week @ 2024-02-16 13706/week @ 2024-02-23 12341/week @ 2024-03-01 14539/week @ 2024-03-08 13212/week @ 2024-03-15 15897/week @ 2024-03-22 14767/week @ 2024-03-29 14546/week @ 2024-04-05 17246/week @ 2024-04-12 15418/week @ 2024-04-19 13694/week @ 2024-04-26 12399/week @ 2024-05-03 13428/week @ 2024-05-10 12071/week @ 2024-05-17

54,438 downloads per month
Used in 57 crates (5 directly)

MIT license

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

~22–55MB
~1M SLoC