Creating a QGIS plugin in Python

“In this module you will create a simple QGIS plugin from scratch.”

If you understand a little python and the basic structure of a QGIS plugin, creating your own plugin is relatively straightforward. The QGIS documentation guide provides a detailed overview of this process, which is the basis for this lesson. Here are the three essential resources for getting up to speed with writing a plugin in QGIS:

  1. Plugin Writing Guide
  2. QGIS Python API Documentation
  3. The QGIS Python Cookbook

You try:

Goal: Create a simple 'hello world' plugin in QGIS