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

#223 in Database implementations

Download history 19701/week @ 2024-10-22 18296/week @ 2024-10-29 19053/week @ 2024-11-05 20420/week @ 2024-11-12 17090/week @ 2024-11-19 17155/week @ 2024-11-26 20154/week @ 2024-12-03 22285/week @ 2024-12-10 19360/week @ 2024-12-17 12746/week @ 2024-12-24 14210/week @ 2024-12-31 22735/week @ 2025-01-07 22662/week @ 2025-01-14 23078/week @ 2025-01-21 22887/week @ 2025-01-28 24130/week @ 2025-02-04

96,331 downloads per month
Used in 120 crates (6 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

~29–60MB
~1M SLoC