Welcome to the world of PyQGIS, the blending of QGIS 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 final book is available as now in both print and PDF format.
If you purchased the preview, be sure to go to My Books to update your copy.
Specific questions or concerns should be directed to: firstname.lastname@example.org.
For discussion of PyQGIS 3 features in this book, and to provide feedback, please use:
- Python Basics
- Setting Up Your Development Tools
- The QGIS/Python Ecosystem
- Changes from Python 2 to 3
- Navigating the QGIS API
- Using the Console
- Running Scripts
- Tips and Techniques
- Extending the API
- Writing Plugins
- Creating a Development Workflow
- Converting Code to QGIS 3
- Writing a Standalone Application
- Answers to Exercises
- Appendix A: Code Listings