Utils templates
| FUNCTION | DESCRIPTION |
|---|---|
customize_template |
Customize a bash-script template and write it to disk. |
parse_script_pip_show_stdout |
Parse standard output of 4_pip_show.sh |
Classes¶
Functions:¶
customize_template(*, template_name, replacements, script_path)
¶
Customize a bash-script template and write it to disk.
| PARAMETER | DESCRIPTION |
|---|---|
|
Name of the template that will be customized.
TYPE:
|
|
List of replacements for template customization. |
|
Local path where the customized template will be written.
TYPE:
|
Source code in fractal_server/tasks/v2/utils_templates.py
parse_script_pip_show_stdout(stdout)
¶
Parse standard output of 4_pip_show.sh