33 releases (13 breaking)

0.39.2 Apr 17, 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

#183 in Database implementations

Download history 15322/week @ 2024-01-05 14957/week @ 2024-01-12 15599/week @ 2024-01-19 16147/week @ 2024-01-26 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 12483/week @ 2024-04-19

61,616 downloads per month
Used in 52 crates (4 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

~21–55MB
~1M SLoC