Installation
The core package gives you the primitives. Each runtime is a separate package that depends on the core, so you install only what you use.
pip install pyrulafrom pyrula import Either, Option, TryRuntime packages
Section titled “Runtime packages”| Package | Install | Import |
|---|---|---|
| Workflows | pip install pyrula-workflows | pyrula.workflows |
| Agents | pip install pyrula-agents | pyrula.agents |
| Kafka | pip install pyrula-kafka | pyrula.kafka |
| Connectors | pip install 'pyrula-connectors[delta]' | pyrula.connectors |
| Pipelines | pip install pyrula-pipelines | pyrula.pipelines |
Installing any of these pulls in pyrula.
Requirements
Section titled “Requirements”Python 3.11 or newer. Workflows durability needs Valkey 7.4+ or Redis 7.0+. Event archival is optional and uses Postgres.
Durability config
Section titled “Durability config”Workflows read their store and archival targets from the environment:
export PYRULA_VALKEY_URL=redis://localhost:6379export PYRULA_POSTGRES_DSN=postgresql://user:pass@localhost:5432/pyrula_eventsThe redis:// scheme covers both Valkey and Redis. Full config lives under
Workflows.
Check it
Section titled “Check it”python -c "from pyrula import Either, Option, Try; print('ok')"Next: the Quickstart.