Python Language Support
Usage
pythonInstall [ --help ]
Install python
When this tool succeeds the python binary is available in the local operating system.
Arguments
--help- Flag. Optional. Display this help.
Return codes
1- If installation fails0- If installation succeeds
Usage
pythonUninstall
Uninstall python
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error
Usage
pythonPackageInstalled pipPackage ... [ --help ] [ --handler handler ] [ --any ]
Is a package installed for python?
Arguments
pipPackage ...- String. Required. Package name(s) to check.--help- Flag. Optional. Display this help.--handler handler- Function. Optional. Use this error handler instead of the default error handler.--any- Flag. Optional. When specified changes the behavior such that if it returns return code 0 IFF any single package is installed.
Return codes
0- All packages are installed (or at least one package with--any)1- All packages are not installed (or NO packages are installed with--any)
Usage
pipInstall [ --help ] [ --handler handler ] pipPackage [ ... ]
Utility to install python dependencies via pip
Installs python if it hasn't been using pythonInstall.
Arguments
--help- Flag. Optional. Display this help.--handler handler- Function. Optional. Use this error handler instead of the default error handler.- pipPackage [ ... ]- `` - String. Required. Pip package name to install.
Return codes
0- Success1- Environment error2- Argument error
Usage
pipUninstall [ --help ] [ --handler handler ] pipPackage [ ... ]
Utility to uninstall python dependencies via pip
Arguments
--help- Flag. Optional. Display this help.--handler handler- Function. Optional. Use this error handler instead of the default error handler.- pipPackage [ ... ]- `` - String. Required. Pip package name to uninstall.
Return codes
0- Success1- Environment error2- Argument error
Usage
pipWrapper [ --bin binary ] [ --handler handler ] [ --help ] [ --debug ] [ ... ]
Run pip whether it is installed as a module or as a binary
Arguments
--bin binary- Executable. Optional. Binary forpip.--handler handler- Function. Optional. Use this error handler instead of the default error handler.--help- Flag. Optional. Display this help.--debug- Flag. Optional. Show outputs towhichandcommand -vforpip...- Arguments. Optional. Arguments passed topip
Return codes
0- Success1- Environment error2- Argument error
Usage
pipUpgrade [ --help ] [ --bin binary ]
Utility to upgrade pip correctly
Arguments
--help- Flag. Optional. Display this help.--bin binary- Executable. Optional. Binary forpip.
Return codes
0- Success1- Environment error2- Argument error
Usage
pythonVirtual --application directory [ --require requirements ] [ pipPackage ... ] [ --help ] [ --handler handler ]
Set up a virtual environment for a project and install dependencies. Also can be used to update dependencies or add them.
When completed, a directory .venv exists in your project containing dependencies.
Arguments
--application directory- Directory. Required. Path to project location.--require requirements- File. Optional. Requirements file for project.pipPackage ...- String. Optional. One or more pip packages to install in the virtual environment.--help- Flag. Optional. Display this help.--handler handler- Function. Optional. Use this error handler instead of the default error handler.
Return codes
0- Success1- Environment error2- Argument error