Skip to main content
Cloacina Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Python (Cloaca)

Python (Cloaca)

Cloaca is the Python package that provides full access to Cloacina’s workflow and computation graph engines. Built with PyO3, it offers native performance with Pythonic ergonomics.

Installation

pip install cloaca              # Default (SQLite + PostgreSQL)
pip install cloaca[sqlite]      # SQLite only
pip install cloaca[postgres]    # PostgreSQL only

Features

  • Workflow orchestration — Define tasks with @task, build workflows with WorkflowBuilder, execute with DefaultRunner
  • Computation graphs — Define reactive graphs with decorators, wire accumulators, push events
  • Multi-tenancy — PostgreSQL schema isolation via DatabaseAdmin
  • Cron scheduling — Time-based workflow execution
  • Event triggers — Condition-based workflow firing

Quick Navigation

Section Description
Quick Start Get running in 5 minutes
Tutorials Progressive learning guides
How-to Guides Recipes for specific tasks
API Reference Complete class and function reference