python 任务管理框架_Director是一个简单而快速的框架,用于使用Celery管理任务和构建工作流...

Celery Director是一个简易快速的框架,用于管理和构建使用Celery的任务工作流。它通过提供Web UI、API和CLI来简化Celery的使用,允许用户跟踪任务状态、管理及执行工作流,并支持周期性启动整个工作流等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Director is a simple and rapid framework used to manage tasks and build workflows using Celery.

The objective is to make Celery easier to use by providing :

a WebUI to track the tasks states,

an API and a CLI to manage and execute the workflows,

a YAML syntax used to combine tasks into workflows,

the ability to periodically launch a whole workflow,

and many others.

See how to use Director with the quickstart and guides in the documentation.

Installation

Install the latest version of Director with pip (requires Python 3.6 at least):

pip install celery-director

Commands

director init [path] - Create a new project.

director celery [worker|beat|flower] - Start Celery daemons.

director webserver - Start the webserver.

director workflow [list|show|run] - Manage your project workflows.

Project layout

.env # The configuration file.

workflows.yml # The workflows definition.

tasks/

example.py # A file containing some tasks.

... # Other files containing other tasks.

License

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值