Skip to content
Pyrula

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.

Terminal window
pip install pyrula
from pyrula import Either, Option, Try
PackageInstallImport
Workflowspip install pyrula-workflowspyrula.workflows
Agentspip install pyrula-agentspyrula.agents
Kafkapip install pyrula-kafkapyrula.kafka
Connectorspip install 'pyrula-connectors[delta]'pyrula.connectors
Pipelinespip install pyrula-pipelinespyrula.pipelines

Installing any of these pulls in pyrula.

Python 3.11 or newer. Workflows durability needs Valkey 7.4+ or Redis 7.0+. Event archival is optional and uses Postgres.

Workflows read their store and archival targets from the environment:

Terminal window
export PYRULA_VALKEY_URL=redis://localhost:6379
export PYRULA_POSTGRES_DSN=postgresql://user:pass@localhost:5432/pyrula_events

The redis:// scheme covers both Valkey and Redis. Full config lives under Workflows.

Terminal window
python -c "from pyrula import Either, Option, Try; print('ok')"

Next: the Quickstart.