Skip to main content

Polarway Python Client

Python client library for connecting to Polarway gRPC server.

Installation

# Install from source
cd polarway-python
pip install -e .

# Generate protocol buffers
./generate_protos.sh

Quick Start

import polarway as pw

# Connect to server
pw.connect("localhost:50051")

# Read Parquet
df = pw.read_parquet("data.parquet")

# Get info
print(df.shape())  # (1000, 5)
print(df.schema()) # Schema info

# Select columns
df2 = df.select(["col1", "col2"])

# Collect to Arrow Table
table = df2.collect()
print(table)

# Write to Parquet
df2.write_parquet("output.parquet")

Features

  • gRPC Interface: Network-capable DataFrame operations
  • Arrow IPC: Zero-copy data transfer
  • Handle-Based: Efficient server-side operations
  • Streaming: Process larger-than-memory datasets

Phase 1 Implementation

Currently implemented:

  • ✅ Connection management
  • ✅ read_parquet
  • ✅ write_parquet
  • ✅ select
  • ✅ get_schema
  • ✅ get_shape
  • ✅ collect
  • ✅ Handle management (drop, heartbeat)

Coming in Phase 2+:

  • filter, group_by, join, sort
  • Time-series operations
  • Network data sources

Metadata

Release files for polarway 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polarway 2.0.0
File Size Uploaded
polarway-2.0.0.tar.gz 32.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polarway 2.0.0
File Interpreter ABI Platform
polarway-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 64.2 kB

Release files / polarway-2.0.0.tar.gz

Download URL polarway-2.0.0.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
da800a6157b006a7f8734e1b471c5d1241fd55c6f238e7e03d9d711402f1a2b3
BLAKE2b-256 checksum
How to use checksums
c54e246f23ce3d36b26e5988fff4e72737876da5233f11ff2c344c1cc7949d05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / polarway-2.0.0-py3-none-any.whl

Download URL polarway-2.0.0-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a30e2b4b200ccb1dede290e3de548f3f1ab2a2e286e56a5ed179165d70101259
BLAKE2b-256 checksum
How to use checksums
212242d7cd9d0ca654697d9e6a7fdfc7bc666be2758f6b96986c72f09cae2d2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page