Skip to content

Python

  • Status: Stable
  • Last verified: 2026-02-23
  • Data source: apps/docs/src/data/language-support.yaml (python)
  1. Clone https://github.com/hellmai/lumenflow-example-python.
  2. Install Python dependencies for the sample (uv sync or project-native equivalent).
  3. Bootstrap workflow files with Node canonical path: npx @lumenflow/cli@3.2.0.
  4. Run workflow smoke: pnpm wu:prep --id WU-EXAMPLE.
npx @lumenflow/cli@3.2.0
pnpm wu:create --lane "Framework: Core" --title "Example" --description "..." --acceptance "..." --code-paths "src/**" --test-paths-unit "tests/**" --exposure backend-only

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

software_delivery:
  gates:
    execution:
      preset: python

Preset commands from packages/@lumenflow/core/src/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