pkglts.install_env package

Submodules

pkglts.install_env.conda_front_end module

Conda front end to install package in current environment.

pkglts.install_env.conda_front_end.install(name)[source]

Install a package in the current python environment.

arg:
  • name (str): name of the package
Returns:whether installation was successful or not
Return type:
  • (bool)
pkglts.install_env.conda_front_end.installed_packages()[source]

Iterate on all packages installed in the current python environment.

Returns:(iter of str)

pkglts.install_env.load_front_end module

Factory to load a specific front end.

pkglts.install_env.load_front_end.get_install_front_end(name)[source]

Load install front end.

Parameters:name (-) – name of front end to load
Returns:loaded python module
Return type:
  • (module)

pkglts.install_env.pip_front_end module

Pip front end to install package in current environment.

pkglts.install_env.pip_front_end.install(name)[source]

Install a package in the current python environment.

arg:
  • name (str): name of the package
Returns:whether installation was successful or not
Return type:
  • (bool)
pkglts.install_env.pip_front_end.installed_packages()[source]

Iterate on all packages installed in the current python environment.

Returns:(iter of str)

pkglts.install_env.stdout_front_end module

Simple front end to emulate all environment modification by printing the required operations.

pkglts.install_env.stdout_front_end.install(name)[source]

Install a package in the current python environment.

arg:
  • name (str): name of the package
Returns:whether installation was successful or not
Return type:
  • (bool)
pkglts.install_env.stdout_front_end.installed_packages()[source]

Iterate on all packages installed in the current python environment.

Returns:(list of str)

Module contents