utils

util functions.

source

to_mps_env_file

 to_mps_env_file (file:str)

source

read_ini_file

 read_ini_file (file:str='settings.ini')

source

split_package_str_at_first_non_alpha

 split_package_str_at_first_non_alpha (package_str:str)

source

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).


source

parse_aliases

 parse_aliases (alias_str:Optional[str])