This repository contains code that accompanies the Prefect course for workflows authors.
Join the free course and learn how to build resilient workflows with Prefect here. TK add link
Use your chosen Python virtual environment manager. We suggest using uv because it's fast and relatively quick to set up, but feel free to use your preferred tool. The examples below show uv.
git clone https://github.com/PrefectHQ/write-workflows-course.git
cd write-workflows-course
For macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
For Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
For troubleshooting, see the uv installation guide.
uv venv --python 3.12
You should see a note that the virtual environment was created successfully and instructions for how to activate it.
source .venv/bin/activate
You should see the virtual environment name in parentheses in your terminal prompt .
uv pip install -r requirements.txt