cli_utils#
CLI functions.
Module Contents#
Functions#
Gets pip requirements for evalml. |
|
Gets location where evalml is installed. |
|
Get dictionary mapping installed package names to their versions. |
|
Returns system information. |
|
Prints the version number of each dependency. |
|
Prints information about the system, evalml, and dependencies of evalml. |
|
Prints system information. |
|
Standardizes the format of the given packages. |
Attributes Summary#
Contents#
- evalml.utils.cli_utils.CONDA_TO_PIP_NAME#
- evalml.utils.cli_utils.get_evalml_pip_requirements(evalml_path, ignore_packages=None)[source]#
Gets pip requirements for evalml.
- Parameters
evalml_path – Path to evalml root.
ignore_packages – List of packages to ignore. Defaults to None.
- Returns
List of pip requirements for evalml.
- evalml.utils.cli_utils.get_evalml_root()[source]#
Gets location where evalml is installed.
- Returns
Location where evalml is installed.
- evalml.utils.cli_utils.get_installed_packages()[source]#
Get dictionary mapping installed package names to their versions.
- Returns
Dictionary mapping installed package names to their versions.
- evalml.utils.cli_utils.get_sys_info()[source]#
Returns system information.
- Returns
List of tuples about system stats.
- evalml.utils.cli_utils.print_info()[source]#
Prints information about the system, evalml, and dependencies of evalml.
- evalml.utils.cli_utils.standardize_format(packages, ignore_packages=None)[source]#
Standardizes the format of the given packages.
- Parameters
packages – Requirements package generator object.
ignore_packages – List of packages to ignore. Defaults to None.
- Returns
List of packages with standardized format.