Skip to content

Install

From source (Rust binaries)

Two binaries live in the workspace, one per backend. Both build from a checkout of the repo:

git clone https://github.com/jeroenflvr/fast-api.git
cd fast-api

cargo build --release -p datapress-duckdb
cargo build --release -p datapress-datafusion

The release binaries land in target/release/datapress-{duckdb,datafusion}.

If you have task installed:

task build:duckdb          # DuckDB binary
task build:datafusion      # DataFusion binary
task build                 # both

Python wheel

The Python wheel datap-rs bundles both engines and lets you pick one at runtime via DataPressConfig(backend=...).

pip install datap-rs
# or
uv pip install datap-rs

Wheels are published for Linux (x86_64/aarch64), macOS (arm64), and Windows (x86_64) against CPython 3.9+ (abi3).

Building the wheel from source:

task py:develop     # editable install into ./.venv (uses uv + maturin)
task py:build       # release wheel into ./target/wheels/

Optional features

Feature Crate Purpose
docs datapress-core Embed this documentation site into the binary. Disabled by default.

Enable at build time:

task docs:build
cargo build --release -p datapress-duckdb --features docs

See Configuration › Documentation site for the runtime switch.