This repository contains examples that demonstrate how to use Prefect. The example are intended to be starting points rather than complete solutions. We hope you find them useful!
Important
This repository uses uv for Python environment management.
If you've cloned the repository, you can run any of the examples with uv run flows/<example_name>.py
, for example:
uv run flows/hello_world.py
If you haven't, you can point uv run
at the URL of the Python file, for example:
uv run https://raw.githubusercontent.com/PrefectHQ/examples/refs/heads/main/flows/hello_world.py
To set up pre-commit checks, run uvx pre-commit
.