profile_manager.profiles.utils module¶
- profile_manager.profiles.utils.define_plugin_version_from_metadata(manager_metadata: Dict[str, Any], plugin_metadata: Dict[str, Any]) str[source]¶
Define plugin version from available metadata
- profile_manager.profiles.utils.get_current_profile_name() str[source]¶
Get name of the profile used by the current QGIS session.
- Returns:
current profile name
- Return type:
- profile_manager.profiles.utils.get_installed_plugin_list(profile_name: str, only_activated: bool = True) List[str][source]¶
Get installed plugin for a profile
- profile_manager.profiles.utils.get_installed_plugin_metadata(profile_name: str, plugin_slug_name: str) Dict[str, Any][source]¶
Get metadata information from metadata.txt file in profile installed plugin
- profile_manager.profiles.utils.get_plugin_info_from_qgis_manager(plugin_slug_name: str, reload_manager: bool = False) Dict[str, str] | None[source]¶
Get plugin informations from QGIS plugin manager
- profile_manager.profiles.utils.get_plugin_repository_url(manager_metadata: Dict[str, Any]) str | None[source]¶
Get plugins.xml URL of the repository a plugin was installed from.
Only repositories known by the current QGIS session are available.
- profile_manager.profiles.utils.get_profile_name_list() List[str][source]¶
Get profile name list from current installed QGIS
- Returns:
profile name list
- Return type:
List[str]
- profile_manager.profiles.utils.get_profile_plugin_information(profile_name: str, plugin_slug_name: str) QdtPluginInformation | None[source]¶
Get plugin information from profile, whatever the repository it was installed from (official, third-party or none).
- profile_manager.profiles.utils.get_profile_plugin_list_information(profile_name: str, only_activated: bool = True) List[QdtPluginInformation][source]¶
Get profile plugin information
- profile_manager.profiles.utils.get_profile_plugin_metadata_path(profile_name: str, plugin_slug_name: str) Path[source]¶
Get path to metadata.txt for a plugin inside a profile