Skip to main content

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.10.0, experimental 0.x. Each 0.Y.0 carries migration notes; nothing is promised stable before 1.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 QWebEngineView interface.

License

MIT

Metadata

Release files for qgis-sdk-runtime 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for qgis-sdk-runtime 0.10.0
File Interpreter ABI Platform Actions
qgis_sdk_runtime-0.10.0-py3-none-any.whl Python 3 none any Details for qgis_sdk_runtime-0.10.0-py3-none-any.whl

Release files / qgis_sdk_runtime-0.10.0-py3-none-any.whl

Download URL qgis_sdk_runtime-0.10.0-py3-none-any.whl
Size 718.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3cc3a32250f855a90b81f1b62a05417b2cc033f69db7775f6f1846687127118
BLAKE2b-256 checksum
How to use checksums
60b98297407ab1bd2e14f1f9b2366988971148c5b14493f829ef8b277cc7649f
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 6, 2026.

Transparency log

Security for qgis-sdk-runtime 0.10.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.10.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 6, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page