Module devtools
[hide private]
[frames] | no frames]

Module devtools

source code

Classes [hide private]
  PluginInstaller
Class used to install new python plugins and its dependencies.
Functions [hide private]
list[dict{str: str}]
installedPackages()
Returns a list of installed packages (installed with pip).
source code
 
removePackage(name, version)
Removes a package (installed with pip).
source code
Function Details [hide private]

installedPackages()

source code 

Returns a list of installed packages (installed with pip).

Returns: list[dict{str: str}]
a list of dictionaries containing name, version, directory (dir) and dist-info directory (distdir)

removePackage(name, version)

source code 

Removes a package (installed with pip). Throws an exception if the package could not be found

Parameters:
  • name (str) - the name of the package
  • version (str) - the version string of the package