utils_pixi
| FUNCTION | DESCRIPTION |
|---|---|
get_pixi_home |
Get pixi home for a given version, or the default one. |
parse_collect_stdout |
Parse standard output of |
parse_stdout_value |
Extract the value following |
simplify_pyproject_toml |
Simplify |
Functions:
get_pixi_home(*, version, config, logger_name)
Get pixi home for a given version, or the default one.
Source code in fractal_server/tasks/v2/utils_pixi.py
parse_collect_stdout(stdout)
Parse standard output of pixi/1_collect.sh
Source code in fractal_server/tasks/v2/utils_pixi.py
parse_stdout_value(stdout, key)
Extract the value following {key}: from the only line of stdout
that contains it.
Source code in fractal_server/tasks/v2/utils_pixi.py
simplify_pyproject_toml(*, original_toml_string, pixi_environment, pixi_platform)
Simplify pyproject.toml contents to make pixi install less heavy.
| PARAMETER | DESCRIPTION |
|---|---|
|
Original
TYPE:
|
|
Name of the pixi environment to use (e.g.
TYPE:
|
|
Name of the platform (e.g.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
str
|
New |