Module implementing the pip packages management widget.
None |
PipPackageInformationMode | Class defining the show information process modes. |
PipPackagesWidget | Class implementing the pip packages management widget. |
PypiSearchResultsParser | Class implementing the parser for the PyPI search result page. |
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. |
__finishSearch | Private slot performing the search finishing actions. |
__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. |
__search | Private method to perform the search by calling the PyPI search URL. |
__searchFirst | Private method to perform the search for packages. |
__searchResponse | Private method to extract the search result data from the response. |
__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. |
__showSearchedDetails | Private slot to show details about the selected search result 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. |
__updateSearchActionButtons | Private method to update the action button states of the search widget. |
__updateSearchButton | Private method to update the state of the search button. |
__updateSearchMoreButton | Private method to update the state of the search more button. |
__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_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_installButton_clicked | Private slot to handle pressing the Install button.. |
on_installUserSiteButton_clicked | Private slot to handle pressing the Install to User-Site button.. |
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 handling a press of the search button. |
on_searchMoreButton_clicked | Private slot handling a press of the search more button. |
on_searchNameEdit_returnPressed | Private slot initiating a search via a press of the Return key. |
on_searchNameEdit_textChanged | Private slot handling a change of the search term. |
on_searchResultList_itemActivated | Private slot reacting on an search result item activation. |
on_searchResultList_itemSelectionChanged | Private slot handling changes of the search result selection. |
on_searchToggleButton_1_toggled | Private slot to toggle the search widget. |
on_searchToggleButton_2_toggled | Private slot to toggle the search widget. |
on_showDepPackageDetailsButton_clicked | Private slot to show information for the selected package of the dependency tree. |
on_showDetailsButton_clicked | Private slot to handle pressing the Show Details button. |
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 performing the search finishing actions.
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 perform the search by calling the PyPI search URL.
Private method to perform the search for packages.
Private method to extract the search result data from the response.
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 slot to show details about the selected search result 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 method to update the action button states of the search widget.
Private method to update the state of the search button.
Private method to update the state of the search more button.
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 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 pressing the Install button..
Private slot to handle pressing the Install to User-Site button..
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 handling a press of the search button.
Private slot handling a press of the search more button.
Private slot initiating a search via a press of the Return key.
Private slot handling a change of the search term.
Private slot reacting on an search result item activation.
Private slot handling changes of the search result selection.
Private slot to toggle the search widget.
Private slot to toggle the search widget.
Private slot to show information for the selected package of the dependency tree.
Private slot to handle pressing the Show Details button.
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.
Class implementing the parser for the PyPI search result page.
ClassPrefix |
None |
PypiSearchResultsParser | Constructor |
__getClass | Private method to extract the class attribute out of the list of attributes. |
__getDate | Private method to extract the datetime attribute out of the list of attributes and process it. |
getResults | Public method to get the extracted search results. |
handle_data | Public method process arbitrary data. |
handle_endtag | Public method to process the end tag. |
handle_starttag | Public method to process the start tag. |
None |
Constructor
Private method to extract the class attribute out of the list of attributes.
Private method to extract the datetime attribute out of the list of attributes and process it.
Public method to get the extracted search results.
Public method process arbitrary data.
Public method to process the end tag.
Public method to process the start tag.