Skip to content

Installation

View as Markdownllms.txt

Floe is a pure-Python package (floe-python on PyPI; the floe name there belongs to an unrelated project) that installs the floe command and the floe Python library. It is also published as a Docker image.

Requires Python 3.11 or later. Install into its own virtual environment: Floe pins duckdb (the merge extra) and needs recent polars, pyarrow and (the iceberg extra) pyiceberg releases, which can conflict with other tools in a shared environment.

Terminal window
python -m venv .venv
. .venv/bin/activate
pip install floe-python
floe --version

With uv:

Terminal window
uv tool install floe-python # the `floe` command only
uv add floe-python # as a library dependency of your project

The core install reads and validates local files. Optional backends are extras:

Extra Needed for
s3 s3 storages, and s3:// config, profile and manifest locations
iceberg sink.accepted.format: iceberg, sink.rejected.format: iceberg and floe maintain
merge sink.write_mode: merge_scd1 and merge_scd2 and floe maintain --compact
xlsx source.format: xlsx
all every extra above
Terminal window
pip install 'floe-python[xlsx]' # or 'floe-python[all]'

A config that needs a missing extra fails floe validate with the pip install command to run.

The wheel is py3-none-any: there is no native extension to build.

ghcr.io/openlakeforge/floe is a multi-arch image (linux/amd64 and linux/arm64) built from Dockerfile.python: python:3.11-slim, a locked virtual environment, a non-root user, and floe as the entrypoint. Tags are <version> and latest.

Terminal window
docker pull ghcr.io/openlakeforge/floe:latest
docker run --rm -v "$PWD:/work" ghcr.io/openlakeforge/floe:latest run -c /work/config.yml

The DuckDB avro, iceberg, httpfs and aws extensions are preinstalled for the pinned duckdb, so Iceberg merges work without network access to the DuckDB extension repository.

Provide cloud credentials through environment variables or the runtime identity; never bake them into the image.

To build the image locally:

Terminal window
docker build -f Dockerfile.python -t floe .

For development (see CONTRIBUTING.md):

Terminal window
git clone https://github.com/OpenLakeForge/floe
cd floe
uv sync --all-groups --all-extras
uv run floe --version

Floe 0.7 and earlier were a Rust binary distributed through Homebrew, Scoop, crates.io and a floe-duckdb companion. Floe 0.8 and later publish none of these. The Rust code is archived at OpenLakeForge/floe-rust.


Synced from floe @ v1.1.0 (313b534), docs/get-started/installation.md.