Skip to content
The Prefect Core workflow engine
Python
Branch: master
Clone or download

Latest commit

cicdw Merge pull request #2210 from PrefectHQ/moar-docs
Mention single CLI command
Latest commit 8cb7148 Mar 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Remove reference to test_35 in circle build config Mar 24, 2020
.github Update codeowners Mar 23, 2020
docs Mention single CLI command Mar 29, 2020
examples Change to retry_delay 10 sec in tutorial Feb 10, 2020
server Mention backend toggle Mar 29, 2020
src/prefect Update client error message and add place holder for docker compose file Mar 29, 2020
tests Merge branch 'master' into server Mar 29, 2020
.gitattributes Push prefect down into src/ directory and add versioneer Jul 24, 2018
.gitignore add test for import time Feb 19, 2020
.pre-commit-config.yaml add ci check for unused imports Feb 19, 2020
.pylintrc Disable log warnings in pylint Jun 17, 2018
CHANGELOG.md Update CHANGELOG Mar 27, 2020
CODE_OF_CONDUCT.md "which" -> "that" Jul 3, 2019
CONTRIBUTING.md Update links Mar 1, 2020
Dockerfile remove default version for python in docker builds Nov 5, 2019
LICENSE Preparing for license updates Mar 27, 2020
LICENSE-APACHE Preparing for license updates Mar 27, 2020
LICENSE-PREFECT Preparing for license updates Mar 27, 2020
MANIFEST.in Add new test requirements file to manifest Dec 13, 2019
README.md Mention single CLI command Mar 29, 2020
appveyor.yml add pytest verbosity to appveyor Jan 28, 2020
codecov.yml Attempt to update codecov yaml Apr 18, 2019
conftest.py Remove traces of airflow from tests Feb 7, 2020
dev-requirements.txt Universal Deploy (#1819) Dec 10, 2019
lower_bounds.py Run isort and black for import cleanup Sep 27, 2019
netlify.toml Add new redirect Feb 4, 2020
package-lock.json Bump acorn from 6.4.0 to 6.4.1 Mar 14, 2020
package.json Updates vuepress plugin Feb 20, 2020
pyproject.toml Speed up black by ignoring node_modules Aug 19, 2019
requirements.txt Update marshmallow requirement Mar 7, 2020
runtime.txt Revert runtime.txt version to 3.7 Dec 5, 2019
setup.cfg Rename google utilities -> gcp utilities Dec 28, 2019
setup.py Update Python versions in setup.py Mar 24, 2020
test-requirements.txt suggested changes completed Feb 11, 2020
versioneer.py Add new ensure_raw state method for unpacking non-raw results and data Jan 29, 2019
yarn.lock Bump acorn from 6.4.0 to 6.4.1 Mar 14, 2020

README.md

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 up

and navigate to http://localhost:8080.

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 License.

You can’t perform that action at this time.