Example codes repos for Graflow workflows
- Python 3.11 or higher
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWindows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Or via Homebrew (macOS):
brew install uvgit clone https://github.com/myui/graflow-examples.git
cd graflow-examples# Create a virtual environment and install dependencies
uv syncThis will automatically create a .venv directory and install all dependencies including graflow[all].
# macOS/Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activateAlternatively, you can run commands directly using uv run:
uv run python your_script.pyIf you're starting a new project and want to add graflow:
# Initialize a new project
uv init my-project
cd my-project
# Add graflow with all extras
uv add graflow --extra all