utils
util functions.
to_mps_env_file
to_mps_env_file (file:str)
read_ini_file
read_ini_file (file:str='settings.ini')
split_package_str_at_first_non_alpha
split_package_str_at_first_non_alpha (package_str:str)
is_valid_conda_package_name_char
is_valid_conda_package_name_char (char:str)
Used to split a package name from a version number. This is achieved by checking if a character is valid for a conda package name. Since between the package name and the version number there is a space, or conditional (>
, <
, =
, etc).
parse_aliases
parse_aliases (alias_str:Optional[str])