How to create a QGIS PDF report with a few lines of pythonhttp://kartoza.com/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python/