Module implementing the pip packages management widget.
None |
PipPackageInformationMode | Class defining the show information process modes. |
PipPackagesWidget | Class implementing the pip packages management widget. |
None |
Class defining the show information process modes.
Classifiers |
EntryPoints |
FilesList |
General |
UrlsList |
None |
None |
None |
Class implementing the pip packages management widget.
AvailableVersionColumn |
DepInstalledVersionColumn |
DepPackageColumn |
DepRequiredVersionColumn |
InstalledVersionColumn |
PackageColumn |
SearchVersionRole |
VulnerabilityColumn |
VulnerabilityRole |
None |
PipPackagesWidget | Constructor |
__aboutToShowPipMenu | Private slot to set the action enabled status. |
__addDependency | Private method to add a dependency branch to a given parent. |
__allPackageNames | Private method to get a list of all package names. |
__allUpdateableItems | Private method to get a list of all items that can be updated. |
__availablePipVersion | Private method to get the pip version of the selected environment. |
__checkVulnerability | Private slot to update and show the vulnerability data (called from the menu). |
__clearVulnerabilityInfo | Private slot to clear the vulnerability info. |
__createSBOMFile | Private slot to create a "Software Bill Of Material" file. |
__editConfiguration | Private method to edit a configuration. |
__editUserConfiguration | Private slot to edit the user configuration. |
__editVirtualenvConfiguration | Private slot to edit the configuration of the selected environment. |
__generateConstraints | Private slot to generate the contents for a constraints file. |
__generateRequirements | Private slot to generate the contents for a requirements file. |
__initPipMenu | Private method to create the super menu and attach it to the super menu button. |
__installLocalPackage | Private slot to install a package available on local storage. |
__installPackages | Private slot to install packages to be given by the user. |
__installPip | Private slot to install pip into the selected environment. |
__installPipUser | Private slot to install pip into the user site for the selected environment. |
__installPyprojectDependencies | Private slot to install packages as given in a 'pyproject.toml' file. |
__installRequirements | Private slot to install packages as given in a requirements file. |
__isPipAvailable | Private method to check, if the pip package is available for the selected environment. |
__pipConfigure | Private slot to open the configuration page. |
__populateEnvironments | Private method to get a list of environments and populate the selector. |
__projectClosed | Private slot to handle the projectClosed signal. |
__projectOpened | Private slot to handle the projectOpened signal. |
__purgeCache | Private slot to empty the pip cache. |
__refreshDependencyTree | Private method to refresh the dependency tree. |
__refreshPackagesList | Private method to refresh the packages list. |
__reinstallPackages | Private slot to force a re-installation of the selected packages. |
__removeCachedFiles | Private slot to remove files from the pip cache. |
__repairPip | Private slot to repair the pip installation of the selected environment. |
__selectedUpdateableItems | Private method to get a list of selected items that can be updated. |
__showCacheInfo | Private slot to show information about the cache. |
__showCacheList | Private slot to show a list of cached files. |
__showLicensesDialog | Private slot to show a dialog with the licenses of the selected environment. |
__showPackageDetails | Private method to populate the package details dialog. |
__showPackageInformation | Private method to show information for a package. |
__showVulnerabilityInformation | Private method to show the detected vulnerability data. |
__uninstallPyprojectDependencies | Private slot to uninstall packages as given in a 'pyproject.toml' file. |
__uninstallRequirements | Private slot to uninstall packages as given in a requirements file. |
__updateActionButtons | Private method to set the state of the action buttons. |
__updateDepActionButtons | Private method to set the state of the dependency page action buttons. |
__updateOutdatedInfo | Private method to process the list of outdated packages. |
__updateVulnerabilityData | Private slot to update the shown vulnerability info. |
__updateVulnerabilityDbCache | Private slot to initiate an update of the local cache of the vulnerability database. |
executeInstallPackages | Public method to install the given list of packages. |
executeUninstallPackages | Public method to uninstall the given list of packages. |
executeUpgradePackages | Public method to execute the pip upgrade command. |
getPip | Public method to get a reference to the pip interface object. |
on_cleanupButton_clicked | Private slot to cleanup the site-packages directory of the selected environment. |
on_dependenciesList_itemActivated | Private slot reacting on a package item of the dependency tree being activated. |
on_dependenciesList_itemPressed | Private slot reacting on a package item of the dependency tree being pressed. |
on_dependenciesList_itemSelectionChanged | Private slot reacting on a change of selected items of the dependency tree. |
on_dependencyRepairAllButton_clicked | Private slot to repair all dependencies. |
on_dependencyRepairButton_clicked | Private slot to repair all selected dependencies. |
on_environmentsComboBox_currentTextChanged | Private slot handling the selection of a Python environment. |
on_installedFilesCheckBox_clicked | Private slot to handle a change of the installed files information checkbox. |
on_localCheckBox_clicked | Private slot handling the switching of the local mode. |
on_localDepCheckBox_clicked | Private slot handling the switching of the local mode. |
on_notRequiredCheckBox_clicked | Private slot handling the switching of the 'not required' mode. |
on_packagesList_itemActivated | Private slot reacting on a package item being activated. |
on_packagesList_itemSelectionChanged | Private slot reacting on a change of selected items. |
on_refreshButton_clicked | Private slot to refresh the display. |
on_refreshDependenciesButton_clicked | Private slot to refresh the dependency tree. |
on_requiresButton_toggled | Private slot handling the selection of the view type. |
on_searchButton_clicked | Private slot to open a web browser for package searching. |
on_searchEdit_returnPressed | Private slot to handle the press of the Return key in the search line edit. |
on_showDepPackageDetailsButton_clicked | Private slot to show information for the selected package of the dependency tree. |
on_showPackageDetailsButton_clicked | Private slot to show information for the selected package. |
on_uninstallButton_clicked | Private slot to remove selected packages of the selected environment. |
on_upgradeAllButton_clicked | Private slot to upgrade all packages of the selected environment. |
on_upgradeButton_clicked | Private slot to upgrade selected packages of the selected environment. |
on_userCheckBox_clicked | Private slot handling the switching of the 'user-site' mode. |
on_userDepCheckBox_clicked | Private slot handling the switching of the 'user-site' mode. |
on_verboseCheckBox_clicked | Private slot to handle a change of the verbose package information checkbox. |
on_viewToggleButton_toggled | Private slot handling the view selection. |
on_vulnerabilityCheckBox_clicked | Private slot handling a change of the automatic vulnerability checks. |
preferencesChanged | Public slot to handle a change of preferences. |
setVulnerabilityEnabled | Public slot to set the enabled state of the vulnerability checks. |
None |
Constructor
Private slot to set the action enabled status.
Private method to add a dependency branch to a given parent.
Private method to get a list of all package names.
Private method to get a list of all items that can be updated.
Private method to get the pip version of the selected environment.
Private slot to update and show the vulnerability data (called from the menu).
Private slot to clear the vulnerability info.
Private slot to create a "Software Bill Of Material" file.
Private method to edit a configuration.
Private slot to edit the user configuration.
Private slot to edit the configuration of the selected environment.
Private slot to generate the contents for a constraints file.
Private slot to generate the contents for a requirements file.
Private method to create the super menu and attach it to the super menu button.
Private slot to install a package available on local storage.
Private slot to install packages to be given by the user.
Private slot to install pip into the selected environment.
Private slot to install pip into the user site for the selected environment.
Private slot to install packages as given in a 'pyproject.toml' file.
Private slot to install packages as given in a requirements file.
Private method to check, if the pip package is available for the selected environment.
Private slot to open the configuration page.
Private method to get a list of environments and populate the selector.
Private slot to handle the projectClosed signal.
Private slot to handle the projectOpened signal.
Private slot to empty the pip cache.
Private method to refresh the dependency tree.
Private method to refresh the packages list.
Private slot to force a re-installation of the selected packages.
Private slot to remove files from the pip cache.
Private slot to repair the pip installation of the selected environment.
Private method to get a list of selected items that can be updated.
Private slot to show information about the cache.
Private slot to show a list of cached files.
Private slot to show a dialog with the licenses of the selected environment.
Private method to populate the package details dialog.
Private method to show information for a package.
Private method to show the detected vulnerability data.
Private slot to uninstall packages as given in a 'pyproject.toml' file.
Private slot to uninstall packages as given in a requirements file.
Private method to set the state of the action buttons.
Private method to set the state of the dependency page action buttons.
Private method to process the list of outdated packages.
Private slot to update the shown vulnerability info.
Private slot to initiate an update of the local cache of the vulnerability database.
Public method to install the given list of packages.
Public method to uninstall the given list of packages.
Public method to execute the pip upgrade command.
Public method to get a reference to the pip interface object.
Private slot to cleanup the site-packages directory of the selected environment.
Private slot reacting on a package item of the dependency tree being activated.
Private slot reacting on a package item of the dependency tree being pressed.
Private slot reacting on a change of selected items of the dependency tree.
Private slot to repair all dependencies.
Private slot to repair all selected dependencies.
Private slot handling the selection of a Python environment.
Private slot to handle a change of the installed files information checkbox.
Private slot handling the switching of the local mode.
Private slot handling the switching of the local mode.
Private slot handling the switching of the 'not required' mode.
Private slot reacting on a package item being activated.
Private slot reacting on a change of selected items.
Private slot to refresh the display.
Private slot to refresh the dependency tree.
Private slot handling the selection of the view type.
Private slot to open a web browser for package searching.
Private slot to handle the press of the Return key in the search line edit.
Private slot to show information for the selected package of the dependency tree.
Private slot to show information for the selected package.
Private slot to remove selected packages of the selected environment.
Private slot to upgrade all packages of the selected environment.
Private slot to upgrade selected packages of the selected environment.
Private slot handling the switching of the 'user-site' mode.
Private slot handling the switching of the 'user-site' mode.
Private slot to handle a change of the verbose package information checkbox.
Private slot handling the view selection.
Private slot handling a change of the automatic vulnerability checks.
Public slot to handle a change of preferences.
Public slot to set the enabled state of the vulnerability checks.