qgis_deployment_toolbelt.jobs.generic_job module#
Base of QDT jobs.
Author: Julien Moura (https://github.com/guts)
- class qgis_deployment_toolbelt.jobs.generic_job.GenericJob#
Bases:
object
Generic base for QDT jobs.
- filter_profiles_folder(start_parent_folder: Path) tuple[QdtProfile] | None #
Parse a folder structure to filter on QGIS profiles folders.
- Returns:
- tuple of profiles objects or Non if no profile
folder found
- Return type:
tuple[QdtProfile] | None
- list_downloaded_profiles() tuple[QdtProfile] | None #
- List downloaded QGIS profiles, i.e. a profile’s folder located into the QDT
working folder. Typically: ~/.cache/qgis-deployment-toolbelt/repositories/geotribu or %USERPROFILE%/.cache/qgis-deployment-toolbelt/repositories/geotribu).
- Returns:
- tuple of profiles objects or None if no profile
folder listed
- Return type:
tuple[QdtProfile] | None
- list_installed_profiles() tuple[QdtProfile] | None #
- List installed QGIS profiles, i.e. a profile’s folder located into the QGIS
profiles path and so accessible to the end-user through the QGIS interface. Typically: ~/.local/share/QGIS/QGIS3/profiles/geotribu or %APPDATA%/QGIS/QGIS3/profiles/geotribu).
- Returns:
- tuple of profiles objects or Non if no profile is
installed in QGIS3/profiles
- Return type:
tuple[QdtProfile] | None