The PyQGIS Programmer's Guide

Extending QGIS 3 with Python 3

by Gary Sherman

PDF $26.99
250 pages
ISBN 999-99999999
Published ETA 2017-09-01

Welcome to the world of PyQGIS, the blending of Quantum GIS and Python to extend and enhance your open source GIS toolbox. With PyQGIS you can write scripts and plugins to implement new features and perform automated tasks.

This book is updated to work with the next generation of QGIS---version 3.x. After a brief introduction to Python 3, you’ll learn how to understand the QGIS Application Programmer Interface (API), write scripts, and build a plugin.

This book is designed to allow you to work through the examples as you go along. At the end of each chapter you will find a set of exercises you can do to enhance your learning experience.

The PyQGIS Programmer's Guide is compatible with the version 3.0 API released with QGIS 3.x.


The book is slated for publication at the time QGIS 3.0 is released.


  1. Introduction
  2. Python Basics
  3. Setting Up Your Development Tools
  4. The QGIS/Python Ecosystem
  5. Changes from Python 2 to 3
  6. Navigating the QGIS API
  7. Using the Console
  8. Running Scripts
  9. Tips and Techniques
  10. Extending the API
  11. Writing Plugins
  12. Creating a Development Workflow
  13. Writing a Standalone Application
  14. Answers to Exercises
  15. Appendix A: Installing Software
  16. Appendix B: Code Listings
  17. Appendix C: Porting Scripts to 3.0