Skip to main content

PyPaimon

PyPaimon is the Python implementation of Apache Paimon. It connects to catalogs, reads and writes lakehouse tables, and makes text, vectors, images, and video available to Python data and training workflows. The core Python API does not require a JDK.

Start with Installation, then run the Quick Start to create a local table, commit a batch, and read it back.

PyPaimon connects Python applications and compute frameworks to Paimon catalogs, snapshots, and table files.

Choose an API​

You want to…Start hereWhat you control
Work with ordinary Paimon tablesPython APICatalogs, schemas, predicates, scan splits, and explicit commits
Build a text, vector, or media applicationMultimodal APITable operations, payload reads, search, and row IDs through a compact interface
Process data across workersRay Data or DaftDistributed reads, transforms, and writes
Feed a training loopPyTorchIterable reads, frame decoding, and contiguous windows
Query or inspect a table interactivelySQL or CLISQL results, table metadata, tags, and branches

The multimodal API wraps the same catalog and table implementation. It creates data-evolution tables without primary keys and supplies defaults for row tracking, deletion vectors, and BLOB descriptors. Use the Python API when you need to work with other table types or control scan and commit steps directly.

Learn by task​

TaskGuides
Connect and define dataCatalogs and tables, data types
Read and write batchesBatch writes, batch reads
Follow new dataStreaming reads and consumers
Retain a dataset versionTags, branches and rollback
Store and update mediaBLOB storage, BLOB object API, data evolution, video frames
Match new data to existing rowsUpsert and merge, Ray joins
Backfill derived featuresRay row IDs and backfills
Retrieve candidatesVector and full-text search, row IDs
Import robot dataHDF5 and ROSBag, LeRobot, RoboMIND AgileX
Compare training storageRoboMIND ACT benchmark
Configure storage accessFUSE, PyJindoSDK
Inspect metadataSystem tables, CLI query and inspect

Environment Settings​

See Installation for virtual environments and package installation.

Build From Source​

See Install from source to use this checkout.

Optional Dependencies​

See Optional dependencies for file formats, compute frameworks, dataset importers, and their Python version requirements.