44 releases (18 breaking)

new 0.44.2 Nov 1, 2024
0.43.1 Sep 12, 2024
0.41.3 Jul 2, 2024
0.38.3 Mar 18, 2024
0.2.1 Oct 28, 2022

#337 in Database implementations

Download history 16794/week @ 2024-07-18 17722/week @ 2024-07-25 21079/week @ 2024-08-01 16184/week @ 2024-08-08 16749/week @ 2024-08-15 16686/week @ 2024-08-22 17359/week @ 2024-08-29 18216/week @ 2024-09-05 17388/week @ 2024-09-12 19682/week @ 2024-09-19 18933/week @ 2024-09-26 18960/week @ 2024-10-03 20217/week @ 2024-10-10 21122/week @ 2024-10-17 17853/week @ 2024-10-24 19110/week @ 2024-10-31

81,519 downloads per month
Used in 94 crates (4 directly)

MIT license

7MB
171K 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

~42–75MB
~1.5M SLoC