Workflows2026年4月1日·1 分钟阅读

Prefect — Python Workflow Orchestration

Prefect orchestrates resilient data pipelines in Python with scheduling, retries, caching, and event-driven automation. 22K+ stars. Apache 2.0.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

pip install -U prefect

# Define workflow with decorators
# @flow and @task

# Start UI dashboard
prefect server start
# Open http://localhost:4200

介绍

Prefect is a workflow orchestration framework for building resilient data pipelines in Python. With 22,000+ GitHub stars and Apache 2.0 license, it provides flow and task decorators, scheduling, caching, retries, a local UI dashboard at localhost:4200, event-driven automation, and self-hosted or cloud deployment.

Best for: Data engineers building reliable Python pipelines Works with: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf


Key Features

  • @flow and @task decorators
  • Scheduling (cron and interval)
  • Retries and caching
  • UI dashboard at localhost:4200
  • Event-driven automation
  • Self-hosted or Prefect Cloud

FAQ

Q: What is Prefect? A: Python workflow orchestration with 22K+ stars. Decorators, scheduling, retries, UI dashboard. Apache 2.0.

Q: How do I install Prefect? A: pip install -U prefect. prefect server start for dashboard.


🙏

来源与感谢

PrefectHQ/prefect — 22,000+ GitHub stars

相关资产