Chapter 1. Automating QGIS
In this chapter, we will focus on the tools needed to write Python scripts for the PyQGIS framework. We will cover the following recipes:
Installing QGIS 2.18 for development
Using the QGIS Python console for interactive control
Automatically starting the Python console
Using Python's Script Runner plugin
Setting up your QGIS IDE
Debugging QGIS Python scripts
Navigating the PyQGIS API
Creating a traditional QGIS plugin
Creating a Processing Toolbox plugin
Distributing a plugin
Building a standalone application
Storing and reading global preferences
Storing and reading project preferences
Accessing the script path from within your script