The PyQGIS Programmer's Guide: Extending QGIS 3 with Python 3 Gary Sherman (founder of the QGIS project).
: PyQGIS is included with the QGIS installation. Once QGIS is installed, you should be able to use PyQGIS within a Python environment. pyqgis programmer 39s guide 3 pdf work