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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值