Oven logo

Oven

Published

Execute your Polars workloads in the cloud

pip install polars-cloud

Package Downloads

Weekly DownloadsMonthly Downloads

Authors

Polars

Project URLs

Requires Python

>=3.9

Image showing the Polars Cloud logo

Polars Cloud: Run your queries at scale, anywhere

Built on top of the popular open source project, Polars Cloud enables you to write DataFrame code once and run it anywhere. The distributed engine available with Polars Cloud allows you to scale your Polars queries beyond a single machine.

Key Features of Polars Cloud

  • Unified DataFrame Experience: Run a Polars query seamlessly on your local machine or at scale with our new distributed engine. All from the same API.
  • Serverless Compute: Effortlessly start compute resources without managing infrastructure, with options to run queries on both CPU and GPU.
  • Any Environment: Start a remote query from a notebook on your machine, Airflow DAG, AWS Lambda, or any server. Get the flexibility to embed Polars Cloud in any environment.

Install Polars Cloud

To use Polars cloud simply add it to your existing project

pip install polars_cloud

Then call .remote() on your dataframe and provide a compute context.

import polars as pl
import polars_cloud as pc

ctx = pc.ComputeContext(cpus=16, memory=64)

query = (
    pl.scan_parquet("s3://my-dataset/")
    .group_by("returned", "status")
    .agg(
        avg_price=pl.mean("price"),
        avg_disc=pl.mean("discount"),
        count_order=pl.len(),
    )
)

query.remote(ctx).write_parquet("s3://my-destination/")

Hit run and your query will be executed in the cloud. You can follow your query's progress on the dashboard. And once your first query is done it's time to increase your dataset size and up the core count.

Sign up today and start for free

Polars Cloud is still in an early development stage and available at no extra cost. You only pay for the resources you use in your own cloud environment. Sign up today to run your first cloud query!

Cloud availability

Currently, Polars Cloud is available on AWS. Other cloud providers and on-premise solutions are on the roadmap and will become available in the upcoming months.