datapress-0.4.4 is not a library.
datapress
A single datapress binary that bundles both dataset HTTP backends —
DuckDB and DataFusion — and picks the active one at runtime from
server.backend in your datasets.toml.
Configuration file
datapress resolves its config in this order (first match wins):
--config <FILE>flag$DATAPRESS_CONFIG_FILEenvironment variable./datasets.toml(current directory)$HOME/datasets.toml
Generate a starter config with the init subcommand. It writes a
commented datasets.toml.template to the given directory, or your home
directory when omitted:
# then:
Choosing a backend
# datasets.toml
[]
= "duckdb" # or "datafusion"
Slimmer single-backend builds
Both backends are compiled in by default. To build just one:
# or
Optional features
docs, swagger, metrics, and auth are forwarded to whichever
backends are enabled, e.g.:
See the workspace README for full configuration details.