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

cd10f14722a88320aae2c1a9432ed7e7.png

68747470733a2f2f7472617669732d63692e6f72672f6f76682f63656c6572792d6469726563746f722e7376673f6272616e63683d6d617374657268747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d332e362532422d626c75652e73766768747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d425344253230332d2d436c617573652d626c75652e73766768747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d626c61636b2d3030303030302e737667

director.png

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

表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
©️2020 CSDN 皮肤主题: 1024 设计师:白松林 返回首页