stratified_packager.toolbelt

Plugin-agnostic library of reusable QGIS plugin helpers.

Every module here is written to be reusable by any QGIS plugin and carries no dependency on this plugin’s identity or domain logic: structured logging, typed settings and persistence proxies, SQL/GeoPackage and zip helpers, translation support, and an env-gated debugpy bootstrap.

Modules

debugging

Optional debugpy bootstrap for attaching an IDE to the (possibly embedded) Python.

gpkg

Plugin-agnostic GeoPackage helpers: introspection, table dropping, style/metadata SQL.

i18n

Internationalization helpers: Qt translation support and accent-folding slug creation.

logging

A thread-safe, structured logging suite for QGIS 4.0+ plugins.

logging_records

Record-level machinery for the QGIS logging suite: targets, filters, configs, level mapping.

mapping_proxy

QGIS-free foundation for the typed key/value proxies: conversions, mapping base, environment.

relations

Plugin-agnostic QgsRelation graph and pathfinding utilities.

settings

QGIS-specific persistence proxies: typed settings, project entries, variables, layer properties.

sql

Plugin-agnostic SQL string building for the SQLite/GeoPackage dialect.

utils

Miscellaneous utility functions.

zipping

Plugin-agnostic zip assembly, atomic publishing and archive-path validation helpers.