Stars
Forks
Watchers
Developer links
Prefect
With 23,600 GitHub stars, 13 million monthly PyPI downloads, and 425+ contributors automating over 200 million data tasks monthly for Fortune 50 companies like Progressive Insurance and disruptors like Cash App, Prefect is the most widely deployed open-source workflow orchestration framework for Python — turning any script into a resilient production pipeline with a single @flow decorator while eliminating rigid DAG structures entirely. The durable execution engine persists task results and automatically resumes from failures without replaying expensive upstream work, guaranteeing exactly-once execution for any Python function. Event-driven automation triggers workflows from webhooks, cloud events, or state changes through a real-time event bus that detects what happens or fails to happen across your entire data platform. Work pools decouple workflow code from infrastructure, enabling seamless switching between Docker, Kubernetes, AWS ECS, Azure Container Instances, GCP Cloud Run, and serverless environments without modifying pipeline logic. Native Ray and Dask task runners extend execution across clusters for compute-intensive workloads. The self-hosted server provides a monitoring dashboard with flow run timelines, task state visualization, scheduling, and automation configuration. The third-generation engine reduces overhead by over 90 percent compared to Prefect 2, supporting batch, event-driven, interactive, and background task workflows. Deploy via Docker Compose with PostgreSQL, Redis, server, background services, and worker containers, or use official Helm charts for production Kubernetes. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- Decorator-Based Pipeline Definition
- Convert any Python function into a monitored, retryable workflow with a single @flow or @task decorator, requiring no DAG definitions, custom DSLs, or framework-specific rewrites.
- Durable Exactly-Once Execution
- Persist intermediate results and resume failed pipelines from the exact failure point without replaying expensive upstream computations, guaranteeing exactly-once semantics automatically.
- Infrastructure-Portable Work Pools
- Decouple workflow logic from compute infrastructure with work pools that dynamically provision Docker containers, Kubernetes pods, AWS ECS tasks, or serverless functions without code changes.
- Real-Time Event-Driven Automation
- Trigger workflows from webhooks, cloud events, state changes, or missing-event detection through an active event bus with configurable automation rules and notification channels.
Features
- Work Pool Infrastructure
- Bridge between orchestration and compute supporting Docker, Kubernetes, AWS ECS, Azure ACI, GCP Cloud Run, and serverless with configurable job templates and concurrency limits.
- Event Bus Automation
- Real-time event processing engine that triggers flows from webhooks, state transitions, scheduled intervals, and negative-event detection without external polling infrastructure.
- Distributed Task Runners
- Native Ray and Dask integration for distributing task execution across clusters, enabling parallel processing of compute-intensive workloads with right-sized resource allocation.
- Self-Hosted Server Dashboard
- Full monitoring interface with flow run timelines, task state visualization, log inspection, deployment management, automation configuration, and work pool administration via web UI.
- Caching and Retries
- Built-in result caching with configurable expiration, automatic retry policies with exponential backoff, and transaction-aware state persistence for fault-tolerant pipeline execution.