62

GitHub - PrefectHQ/prefect: The Prefect Core automation engine

 5 years ago
source link: https://github.com/PrefectHQ/prefect
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

68747470733a2f2f75706c6f6164732d73736c2e776562666c6f772e636f6d2f3562613434366230653738336532366435613266323338322f3563393432633963613933346563356338383538383239375f7072696d6172792d636f6c6f722d766572746963616c2e737667

68747470733a2f2f636972636c6563692e636f6d2f67682f5072656665637448512f707265666563742f747265652f6d61737465722e7376673f7374796c653d736869656c6426636972636c652d746f6b656e3d32383638396135356564633363333733343836616161356631316131616633653566633533333434 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d626c61636b2d3030303030302e737667 68747470733a2f2f6261646765732e6769747465722e696d2f70726566656374696f2f707265666563742e737667

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

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

Documentation for developers is also available, covering code style, documentation, and testing.

"...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+.

Install latest release

pip install prefect

Install bleeding edge

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

License

Prefect is licensed under the Apache Software License version 2.0.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK