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

#153 in Database implementations

Download history 17590/week @ 2024-11-17 16802/week @ 2024-11-24 19443/week @ 2024-12-01 21470/week @ 2024-12-08 21831/week @ 2024-12-15 12411/week @ 2024-12-22 13009/week @ 2024-12-29 22815/week @ 2025-01-05 23222/week @ 2025-01-12 22144/week @ 2025-01-19 22282/week @ 2025-01-26 28467/week @ 2025-02-02 119500/week @ 2025-02-09 114373/week @ 2025-02-16 141477/week @ 2025-02-23 148765/week @ 2025-03-02

525,914 downloads per month
Used in 139 crates (15 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