Skip to main content

Module python

Module python 

Source
Expand description

Python interpreter detection and gate runner invocation.

find_interpreter searches for a working Python on PATH using a platform-specific candidate list. run_gate_runner invokes a gate runner script with the discovered interpreter, capturing bounded output.

The gate runner is a soft dependency — when Python is absent, validate warns and skips the gate runner but runs every other check (R15).

Enums§

Error
Errors returned by Python/gate runner operations.

Functions§

find_interpreter
Find a working Python interpreter on PATH.
missing_python_warning
Warning message when no Python interpreter is found.
run_gate_runner
Invoke a gate runner script with the given interpreter.