Before you start: Please make sure you can successfully build and run the Fluss Rust client on your machine. The Python bindings require a working Fluss Rust backend and compatible environment.
cd bindings/python uv sync --all-extras
source .venv/bin/activate uv run maturin develop
uv run maturin build --release
uv run ruff format python/ uv run ruff check python/
uv run mypy python/
uv run python example/example.py
uv run pdoc fluss
# Build wheel uv run maturin build --release # Publish to PyPI uv run maturin publish
bindings/python/
├── Cargo.toml # Rust dependency configuration
├── pyproject.toml # Python project configuration
├── README.md # User guide
├── DEVELOPMENT.md # This file
├── API_REFERENCE.md # API reference
├── src/ # Rust source code (PyO3 bindings)
│ ├── lib.rs
│ ├── config.rs
│ ├── connection.rs
│ ├── admin.rs
│ ├── table.rs
│ └── error.rs
├── fluss/ # Python package
│ ├── __init__.py
│ ├── __init__.pyi # Type stubs
│ └── py.typed
└── example/
└── example.py
Apache 2.0 License