qgis-sdk-runtime
The runtime that brings your Python plugin to life in QGIS.
Declare actions and native surfaces with plain Python, then reach QGIS
capabilities through scoped services. Pure layers import without QGIS or Qt;
qgis-sdk build vendors a private runtime into the plugin ZIP. The runtime
has no third-party Python dependencies; QGIS and Qt are supplied by the host.
Status:
0.8.0, experimental0.x. Each0.Y.0carries migration notes; nothing is promised stable before1.0.0.
Installation
pip install qgis-sdk-runtime # the QGIS Python console, a host script, a vendored copy
pip install qgis-sdk # the developer kit: runtime + tools
Example
from qgis_sdk import QgisSdkPlugin, menu
from qgis_sdk.core import PluginContext
from qgis_sdk.ui import Button, Dialog, Form, LogView, Number, on
app = QgisSdkPlugin(id="example", title="Example")
@app.surface
@menu("Plugins/Example")
class PingDialog(Dialog):
title = "Ping"
value = Number(integer=True, required=True) # objectName form/value
form = Form([value], action_id="ping") # submits through ctx.actions
ping = Button(text="Ping") # objectName buttons/ping
answers = LogView(label="Answers") # shows ctx.log as it arrives
@on(ping).clicked
def pinged(self) -> None:
self.ctx.log.info("pong", value=self.form.submit())
@app.action(id="ping", title="Ping")
def ping(ctx: PluginContext, value: int) -> int:
return value
Documentation
- Python package guide - declarations, the UI catalogue and the declared surface form, services, Processing, the bridge host side, release and migration notes.
- TypeScript SDK and
web components -
the page side of a
QWebEngineViewinterface.
License
MIT
Metadata
Release files for qgis-sdk-runtime 0.8.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_runtime-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for qgis_sdk_runtime-0.8.0-py3-none-any.whl |
Release files / qgis_sdk_runtime-0.8.0-py3-none-any.whl
| Download URL | qgis_sdk_runtime-0.8.0-py3-none-any.whl |
|---|---|
| Size | 533.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7828256d05197e7a92e908ad86e7a8296ecfb142167991aa25b6e72a1ca7c62
|
|
BLAKE2b-256 checksum How to use checksums |
374b2eedf58864be7360ad3a92c560a5948eadbb8b76264eb87a6a48046599bc
|
| 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 Oct 29, 2026.
Transparency logSecurity for qgis-sdk-runtime 0.8.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_runtime-0.8.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 Oct 29, 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.