This project builds the Rust-powered core for PyPaimon while also providing DataFusion integration for querying Paimon tables.
For DataFusion queries, use the native SessionContext and register a PaimonCatalog:
from datafusion import SessionContext from pypaimon_rust.datafusion import PaimonCatalog catalog = PaimonCatalog({"warehouse": "/path/to/warehouse"}) ctx = SessionContext() ctx.register_catalog_provider("paimon", catalog) df = ctx.sql("SELECT * FROM paimon.default.my_table") df.show()
Install uv:
pip install uv
Set up the development environment:
make install
make build
Python integration tests expect the shared Paimon test warehouse to be prepared first from the repository root:
make docker-up cd bindings/python
make test