cli_utils#

CLI functions.

Module Contents#

Functions#

get_evalml_pip_requirements

Gets pip requirements for evalml.

get_evalml_root

Gets location where evalml is installed.

get_installed_packages

Get dictionary mapping installed package names to their versions.

get_sys_info

Returns system information.

print_deps

Prints the version number of each dependency.

print_info

Prints information about the system, evalml, and dependencies of evalml.

print_sys_info

Prints system information.

standardize_format

Standardizes the format of the given packages.

Attributes Summary#

CONDA_TO_PIP_NAME

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_deps()[source]#

Prints the version number of each dependency.

evalml.utils.cli_utils.print_info()[source]#

Prints information about the system, evalml, and dependencies of evalml.

evalml.utils.cli_utils.print_sys_info()[source]#

Prints system information.

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.