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.2.tar.gz (245.6 kB view details)

Uploaded Source

Built Distribution

prefect-0.10.2-py3-none-any.whl (345.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prefect-0.10.2.tar.gz
  • Upload date:
  • Size: 245.6 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.2.tar.gz
Algorithm Hash digest
SHA256 b448c5164daa318bfeb6f77bdf70b0fd47cbecd061e5fae8ca7b46e164bd1a42
MD5 07b395663ed61b7b0e17b082510bf6e5
BLAKE2b-256 f9e56d0e732bf1e59e2e975460b4867277382c1d376d421b6a7e048ec01aa50c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prefect-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 345.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e72f49b5d639a8d265e912f45eba4cf5d4448131834d3400fcfceaea80e300f3
MD5 a72f00fdc6f893db3e8e27f999acb578
BLAKE2b-256 70ec8e557431180fb6b6d392c4497ca261a91e4791f557595a2981941c972d0a

See more details on using hashes here.

Supported by

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