Installation
Install flexiq and prepare your environment.
Install flexiq and prepare your environment.
See Capabilities at a glance for everything flexiq does — workflows, retries, the dashboard, prefork pools — each with a link to its guide.
pip install flexiqflexiq has a single runtime dependency:
cloudpickle for serializing task arguments
and results. It is installed automatically.
flexiq ships with SQLite compiled in via Rust's libsqlite3-sys crate. You do
not need a system SQLite installation.
flexiq exposes optional pip extras for backends and integrations — install only what you need:
pip install "flexiq[postgres]" # Postgres storage backend
pip install "flexiq[redis]" # Redis storage backend
pip install "flexiq[flask]" # Flask integration
pip install "flexiq[fastapi]" # FastAPI integration
pip install "flexiq[django]" # Django integration
pip install "flexiq[otel]" # OpenTelemetry tracing/metrics
pip install "flexiq[prometheus]" # Prometheus metrics exporter
pip install "flexiq[sentry]" # Sentry error reporting
pip install "flexiq[encryption]" # EncryptedSerializer (cryptography)
pip install "flexiq[msgpack]" # MsgPackSerializerExtras can be combined, e.g. pip install "flexiq[postgres,otel,sentry]".
To use PostgreSQL as the storage backend instead of SQLite:
pip install flexiq[postgres]See the Postgres backend guide for configuration details.
Building from source requires a Rust toolchain (1.70+).
# Install Rust (if needed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Clone and build
git clone https://github.com/ByteVeda/flexiq.git
cd flexiq
python -m venv .venv
source .venv/bin/activate
pip install maturin
maturin develop --releasepip install -e ".[dev]" # Tests, linting, type checking
pip install -e ".[docs]" # Documentationimport flexiq
print(flexiq.__version__) # 0.19.0 (your version may differ)flexiq[postgres])