prefect

The Prefect Core automation engine

Github星跟踪图

Hello, world! ?

We've rebuilt data engineering for the data science era.

Prefect is a new workflow management system, designed for modern infrastructure and powered by the open-source Prefect Core workflow engine. Users organize Tasks into Flows, and Prefect takes care of the rest.

Read the docs; get the code; ask us anything!

from prefect import task, Flow


@task
def say_hello():
    print("Hello, world!")


with Flow("My First Flow") as flow:
    say_hello()


flow.run() # "Hello, world!"

Docs

Prefect's documentation -- including concepts, tutorials, and a full API reference -- is always available at docs.prefect.io.

Instructions for contributing to documentation can be found in the development guide.

Blog

The Prefect Blog for updates and insights from the Prefect team.

Contributing

Read about Prefect's community or dive in to the development guides for information about contributions, documentation, code style, and testing.

Join our Slack to chat about Prefect, ask questions, and share tips.

Prefect is committed to ensuring a positive environment. All interactions are governed by our Code of Conduct.

"...Prefect?"

From the Latin praefectus, meaning "one who is in charge", a prefect is an official who oversees a domain and makes sure that the rules are followed. Similarly, Prefect is responsible for making sure that workflows execute properly.

It also happens to be the name of a roving researcher for that wholly remarkable book, The Hitchhiker's Guide to the Galaxy.

Installation

Requirements

Prefect requires Python 3.5.2+.

Install latest release

Using pip:

pip install prefect

or conda:

conda install -c conda-forge prefect

or pipenv:

pipenv install --pre prefect

Install bleeding edge

Please note that the master branch of Prefect is not guaranteed to be compatible with Prefect Cloud.

git clone https://github.com/PrefectHQ/prefect.git
pip install ./prefect

License

Prefect is licensed under the Apache Software License version 2.0.

主要指标

概览
名称与所有者PrefectHQ/prefect
主编程语言Python
编程语言Python (语言数: 13)
平台
许可证Apache License 2.0
所有者活动
创建于2018-06-29 21:59:26
推送于2025-07-22 19:55:29
最后一次提交
发布数799
最新版本名称3.4.10 (发布于 )
第一版名称0.2.0 (发布于 )
用户参与
星数19.8k
关注者数161
派生数1.9k
提交数19.3k
已启用问题?
问题数6375
打开的问题数985
拉请求数9961
打开的拉请求数14
关闭的拉请求数1456
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?