qgis-sdk
The next-generation Python SDK for effortless QGIS plugin authoring.
Turn Python actions into QGIS plugins with less boilerplate. Test plugin logic
without QGIS, build native and web interfaces over the same actions, and ship
an installable ZIP. This developer kit brings together the
qgis-sdk-runtime and
qgis-sdk-tools at matching versions.
Status:
0.11.0, experimental0.x. Each0.Y.0carries migration notes; nothing is promised stable before1.0.0.
Installation
pip install qgis-sdk # runtime + tools
pixi add --channel https://prefix.dev/archont561/archont561 qgis-sdk
Example
from qgis_sdk import QgisSdkPlugin
from qgis_sdk.core import PluginContext
from qgis_sdk.models import LayerInput, Metres, VectorLayerInfo
from qgis_sdk.ui import Button, Dialog, Form, LayerPicker, Number, on
app = QgisSdkPlugin(id="field.tools", title="Field tools")
@app.surface
class BufferDialog(Dialog):
title = "Buffer"
layer_id = LayerPicker(kind="vector", required=True)
distance = Number(range=(0, 10_000), required=True)
form = Form([layer_id, distance], action_id="buffer")
run = Button(text="Run")
@on(run).clicked
def run_clicked(self) -> None:
self.ctx.log.info("buffered", layer=self.form.submit().id)
@app.action(id="buffer", title="Buffer")
def buffer(ctx: PluginContext, layer_id: LayerInput, distance: Metres) -> VectorLayerInfo:
params = {"INPUT": layer_id, "DISTANCE": distance}
return ctx.algorithms.run("native:buffer", params).vector("OUTPUT")
qgis-sdk new <directory> writes a project on this API; check, test,
dev and build take it from there. What QGIS's loader needs -
metadata.txt, the classFactory - is rendered by build and dev,
never written into the project.
Documentation
- Python package guide - declarations, the UI catalogue, services, Processing, the bridge host side, the scaffold, the command, release and migration notes.
- TypeScript SDK and
web components -
the page side of a
QWebEngineViewinterface. - Workspace, harnesses and qualification evidence.
License
MIT
Metadata
Release files for qgis-sdk 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qgis_sdk-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for qgis_sdk-0.11.0-py3-none-any.whl |
Release files / qgis_sdk-0.11.0-py3-none-any.whl
| Download URL | qgis_sdk-0.11.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed6d13a06b057cfac67a8729f2beeaf30ecaeb4419e303f245cf3f5fe406acc2
|
|
BLAKE2b-256 checksum How to use checksums |
4c5738b5cebabd0d7a1964f0d88b37d1526d665c535719888944e1497dc5c7bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for qgis-sdk 0.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for qgis_sdk-0.11.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.