Skip to main content

No project description provided

Project description

PyPaimon Rust

This project builds the Rust-powered core for PyPaimon while also providing DataFusion integration for querying Paimon tables.

Install via PyPI:

pip install pypaimon-rust

If you want to use the native Python DataFusion SessionContext, install datafusion as well.

Query Paimon Tables with DataFusion

pypaimon-rust provides a PaimonCatalog that can be registered into the native DataFusion SessionContext. This keeps the standard DataFusion Python API available for regular queries.

from datafusion import SessionContext
from pypaimon_rust.datafusion import PaimonCatalog

catalog = PaimonCatalog({
    "warehouse": "/path/to/warehouse",
})

ctx = SessionContext()
ctx.register_catalog_provider("paimon", catalog)

# Query tables via SQL (catalog.database.table)
df = ctx.sql("SELECT * FROM paimon.default.my_table LIMIT 10")
df.show()

REST Catalog

from datafusion import SessionContext
from pypaimon_rust.datafusion import PaimonCatalog

catalog = PaimonCatalog({
    "metastore": "rest",
    "uri": "http://localhost:8080",
    "warehouse": "my_warehouse",
})

ctx = SessionContext()
ctx.register_catalog_provider("paimon", catalog)

Time travel queries are not supported in the Python binding at this time.

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

pypaimon_rust-0.1.0.tar.gz (362.8 kB view details)

Uploaded Source

Built Distributions

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

pypaimon_rust-0.1.0-cp310-abi3-win_amd64.whl (24.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

pypaimon_rust-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl (28.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

pypaimon_rust-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

pypaimon_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl (24.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

pypaimon_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl (25.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file pypaimon_rust-0.1.0.tar.gz.

File metadata

  • Download URL: pypaimon_rust-0.1.0.tar.gz
  • Upload date:
  • Size: 362.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypaimon_rust-0.1.0.tar.gz
Algorithm Hash digest
SHA256 50f2816e0474573cf4acaa8abc451d946908add44d4e2a20e6cae3832200ac92
MD5 d85ec873ab8f308e1196063425a9b0fc
BLAKE2b-256 ac06943dbceb7107185f4e1ac80a0c4d1a91a07313c2a5944231365733b8143b

See more details on using hashes here.

File details

Details for the file pypaimon_rust-0.1.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for pypaimon_rust-0.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 34acc896f7bb852f14a688c29f57cd3212bbfa2060564d68929ddd543585c3fe
MD5 2320698d5e7e51fe53705183740550a5
BLAKE2b-256 d07452d18dbdaccdf14803bc3efbb56a13cf9c7810425178f9e18cd7488fa8b0

See more details on using hashes here.

File details

Details for the file pypaimon_rust-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pypaimon_rust-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 209b6fcbc9a52373e1bcf9926ca2c05006a57cb561b150f631145982c81f1958
MD5 9e9fe04775ee5932be0b7b58a1184920
BLAKE2b-256 c897916f0534aef84037d8bdb03aecf27359d8b17ece5720321828bbab1e339d

See more details on using hashes here.

File details

Details for the file pypaimon_rust-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pypaimon_rust-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 716d4caa0e4f8c5e4700ad5227fe1792ef95b589fbecb69d5036d01918901be4
MD5 37d6aff7c9b376b1ec98be6b9dc74c95
BLAKE2b-256 ea8b9ff052f71f45fb7bf4e205e78308ffa0b3ed2111c484173cc5c3379a25a8

See more details on using hashes here.

File details

Details for the file pypaimon_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pypaimon_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 842d15f00acf21372effba64b983e8efa296179072fba39336b6fbee822624bd
MD5 d2c9f530c5b8dc8767a985c639df6a06
BLAKE2b-256 dafd77e3e97010ccedc26cfeeac74ef94c1fc514cee91067e6b96817d5e5ee35

See more details on using hashes here.

File details

Details for the file pypaimon_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pypaimon_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1af809260c104022648b6ddc3b4a72ed8a0eb2e8841915ead032963b1bb0480a
MD5 359c647e7c13f17e07b818a63398c243
BLAKE2b-256 efe204a764459fcb2a3647a446c10d8ebbe4cb74fe0c5d972689b283ca552ca8

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