Module python

Source

Re-exportsยง

pub use crate::_generated::python::MIN_PYTHON_VERSION;

Macrosยง

pyproject_str ๐Ÿ”’
user_env_str ๐Ÿ”’

Structsยง

Config
NO_ORIGEN_BOOT_MODULE_ERROR
PYTHON_CONFIG

Constantsยง

PYPROJECT ๐Ÿ”’
USER_ENV ๐Ÿ”’

Functionsยง

add_origen_env
Adds any Origen-related environment settings to a command
extract_version ๐Ÿ”’
get_current_user_and_email
Attempts to get the username and email, utilizing the full Origen environment (site config, etc.)
get_version ๐Ÿ”’
Get the Python version from the given command
is_backend_origen_mod_missing_err
python_version
Returns the version of the Python that was discovered for this workspace.
resolve_pyproject
run
Execute the given Python code
run_and_capture_stdout
Execute the given Python code and capture its stdout
run_with_callbacks
Run silently with all STDOUT and STDERR handled by the given callback functions
uv_version
Returns the installed UV version.