Skip to main content

The Prefect Core automation and scheduling engine.

Project description

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, Parameter


@task(log_stdout=True)
def say_hello(name):
    print("Hello, {}!".format(name))


with Flow("My First Flow") as flow:
    name = Parameter('name')
    say_hello(name)


flow.run(name='world') # "Hello, world!"
flow.run(name='Marvin') # "Hello, Marvin!"

Spin up Prefect Core's local UI to orchestrate and manage your workflows:

prefect server start

and navigate to http://localhost:8080. (Note: Prefect Server requires both Docker and Docker Compose).

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

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 variously licensed under the Apache Software License Version 2.0 or the Prefect Community License.

All code except the /server directory is Apache 2.0-licensed unless otherwise noted. The /server directory is licensed under the Prefect Community License.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prefect-0.10.1.tar.gz (243.2 kB view details)

Uploaded Source

Built Distribution

prefect-0.10.1-py3-none-any.whl (338.7 kB view details)

Uploaded Python 3

File details

Details for the file prefect-0.10.1.tar.gz.

File metadata

  • Download URL: prefect-0.10.1.tar.gz
  • Upload date:
  • Size: 243.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for prefect-0.10.1.tar.gz
Algorithm Hash digest
SHA256 416e36351b0db99a538cb0ba5eac6da526980676a7bebdea8126b4355483ebcb
MD5 fccc6b0aa2b0d9534ce57e1afa0239ed
BLAKE2b-256 8ace6ee71c99fb26318fc8034ac267db7bbb8c9ab1c5e0ea5face2cb8d4bc044

See more details on using hashes here.

File details

Details for the file prefect-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: prefect-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 338.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for prefect-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1fffa66bd616e53cf9a2dfb7823cb7741125e4bc16794b07294a40ca80ea45ae
MD5 20104f8b9b5331152c96953aaeaeb7ee
BLAKE2b-256 9246caaca48d24a7ab3ab8bbf23591905f3505c1c3bdf5e274b92f96bfc4dac0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page