Skip to main content

High-performance Railway-Oriented DataFrame engine with gRPC streaming and Lakehouse support

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polarway-2.0.0.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polarway-2.0.0-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file polarway-2.0.0.tar.gz.

File metadata

  • Download URL: polarway-2.0.0.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for polarway-2.0.0.tar.gz
Algorithm Hash digest
SHA256 da800a6157b006a7f8734e1b471c5d1241fd55c6f238e7e03d9d711402f1a2b3
MD5 e383f9e613f6ebabafd866c91ff4090f
BLAKE2b-256 c54e246f23ce3d36b26e5988fff4e72737876da5233f11ff2c344c1cc7949d05

See more details on using hashes here.

File details

Details for the file polarway-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: polarway-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for polarway-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a30e2b4b200ccb1dede290e3de548f3f1ab2a2e286e56a5ed179165d70101259
MD5 be3e8b13f0c5397c80e27a47668516c9
BLAKE2b-256 212242d7cd9d0ca654697d9e6a7fdfc7bc666be2758f6b96986c72f09cae2d2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page