Introducing Polars on-premises
Interested in running Polars on-premises? Sign up here to apply.
After installing Polars on-premises either on bare-metal or on Kubernetes, you can connect to your cluster using the Polars Cloud Python client.
import polars as pl
import polars_cloud as pc
# Connect to your Polars on-premises cluster
ctx = pc.ClusterContext(compute_address="your-cluster-compute-address", insecure=True)
query = (
pl.LazyFrame()
.with_columns(a=pl.arange(0, 100000000).sum())
.remote(ctx)
.distributed()
.execute()
)
print(query.await_result())