Skip to main content

The fast, Pythonic way to build Arrow Flight servers with Polars and Pydantic.

Project description

FastAirport

A tiny wrapper around Apache Arrow Flight for building analytical services.

from fastairport import FastAirport, Context
import pyarrow as pa

airport = FastAirport("Demo")

@airport.endpoint("echo")
def echo(data: pa.Table, ctx: Context) -> pa.Table:
    ctx.info(f"rows: {data.num_rows}")
    return data

airport.start()

Clients send and receive Arrow tables:

from fastairport import Client

client = Client("localhost:8815")
result = client.call("echo", pa.table({"a": [1, 2]}))
client.close()

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

fastairport-0.2.0.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

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

fastairport-0.2.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file fastairport-0.2.0.tar.gz.

File metadata

  • Download URL: fastairport-0.2.0.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.11

File hashes

Hashes for fastairport-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f5635979af5599c3af36652fef0cde980ba30a0a87f764c546029a21f96f7b08
MD5 96013d18a96fe34aba2d10f8f559caa3
BLAKE2b-256 97162bcec045d684357cf2486953a0135b2ffff141ad8fac1c40f0d0a26b46ef

See more details on using hashes here.

File details

Details for the file fastairport-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastairport-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ac301fb800770d8bcef3937f5a82db6b049c3a48c40c4a7c0c3d1471a264bab
MD5 fdd1afa8c51154216c37315f0c8d5241
BLAKE2b-256 2eaa6a54e457ae5a4330e345a910f6456490e38fc3b7f35e985a045fd67ba32a

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