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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polarway-2.0.0.tar.gz | 32.9 kB | Without provenance | Details for polarway-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polarway-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for polarway-2.0.0-py3-none-any.whl |
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
|
Security for polarway 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.