46 releases (19 breaking)

new 0.45.1 Dec 9, 2024
0.44.2 Nov 1, 2024
0.41.3 Jul 2, 2024
0.38.3 Mar 18, 2024
0.2.1 Oct 28, 2022

#265 in Database implementations

Download history 16421/week @ 2024-08-24 18472/week @ 2024-08-31 17864/week @ 2024-09-07 16376/week @ 2024-09-14 21196/week @ 2024-09-21 18984/week @ 2024-09-28 18801/week @ 2024-10-05 20649/week @ 2024-10-12 20464/week @ 2024-10-19 17980/week @ 2024-10-26 19058/week @ 2024-11-02 20115/week @ 2024-11-09 17853/week @ 2024-11-16 16591/week @ 2024-11-23 19378/week @ 2024-11-30 17464/week @ 2024-12-07

74,471 downloads per month
Used in 100 crates (5 directly)

MIT license

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

~27–58MB
~1M SLoC