Skip to content

Python

  • Status: Stable
  • Last verified: 2026-08-14
  • Data source: apps/docs/src/data/language-support.yaml (python)
  1. Start from a Python project with pyproject.toml.
  2. Install Python dependencies (uv sync or project-native equivalent).
  3. Install the current stable CLI with pnpm add -D @hellmai/lumenflow-cli@latest.
  4. Bootstrap workflow files with pnpm lumenflow.
  5. Run workflow smoke: pnpm wu:prep --id WU-EXAMPLE.
pnpm add -D @hellmai/lumenflow-cli@latest
pnpm lumenflow
pnpm wu:create \
  --lane "Framework: Core" \
  --title "Add Python health check" \
  --type feature \
  --exposure backend-only \
  --description "Add a health-check function to the Python service" \
  --acceptance "The health-check reports ready after dependencies initialize" \
  --notes "Use the existing service bootstrap and response model" \
  --code-paths "src/health.py" \
  --test-paths-unit "tests/test_health.py" \
  --test-paths-manual "Start the service and verify the health endpoint returns ready" \
  --plan

Native pip channel support is out of scope in this initiative.

software_delivery:
  gates:
    execution:
      preset: python

Preset commands from packages/@lumenflow/packs/software-delivery/src/policy/gates-presets.ts:

pip install -e ".[dev]" || pip install -r requirements.txt
ruff format --check .
ruff check .
mypy .
pytest
pnpm wu:prep --id WU-EXAMPLE