stratified_packager.settings

The plugin’s own typed settings schema, built on the toolbelt settings library.

Classes

StratifiedPackagerSettings(*[, settings])

Stratified Packager's global settings, scoped under plugins/<slug>.

class stratified_packager.settings.StratifiedPackagerSettings(*, settings=None)[source]

Stratified Packager’s global settings, scoped under plugins/<slug>.

Declares the plugin’s known keys as typed Setting descriptors while remaining a full dict-like SettingsProxy for any additional keys. Because the scope matches the descriptors’ entry keys, self.debug_mode and self["debug_mode"] address the same stored value.

Parameters:

settings (QgsSettings | None)

_PLUGIN_NAME: ClassVar[str] = 'stratified_packager'

Plugin slug used as the settings-tree node and the plugins/<slug> scope.

_abc_impl = <_abc._abc_data object>
compression_level

Default zip compression level (0 = ZIP_STORED).

debug_mode

Whether the plugin emits verbose debug output.

deduplicate_shared_sources

Default for DEDUPLICATE_SHARED_SOURCES.

export_full_package

Default for EXPORT_FULL_PACKAGE.

generate_report

Default for GENERATE_REPORT.

gpkg_path_expression

Default gpkg-path expression; empty means @stratum_name_sanitized.

include_metadata

Default for INCLUDE_METADATA.

include_styles

Default for INCLUDE_STYLES.

keep_empty_layers

Default for KEEP_EMPTY_LAYERS.

overwrite_mode

Default overwrite-mode token (see processing.params.OverwriteMode).

project_inclusion

Default project-inclusion token (see processing.params.ProjectInclusion).

stage_providers

Default for STAGE_PROVIDERS (stage no provider implicitly; see processing.params).

style_categories

Default for STYLE_CATEGORIES (every category; see processing.params).

use_temp_folder

Default for USE_TEMP_FOLDER.

version_saved

Plugin version stamp recorded when the settings were last saved.

warm_start_mode

Default warm-start-mode token (see processing.params.WarmStartMode).

write_checksums

Default for WRITE_CHECKSUMS.

zip_path_expression

Default zip-path expression; empty means @gpkg_name.

stratified_packager.settings._setting_label(setting)[source]

Return the canonical source-English label of the input backed by setting.

Parameters:

setting (str) – The settings attribute name (a ✓ row of SPEC §3).

Return type:

str

Returns:

The matching label, so the setting description can never drift from the algorithm-dialog text.