The standard way to do this is in Python ReportLab , but installing it is not that simple and not to use.
I donβt know exactly what the requirements are, but a workaround would be to create HTML reports and convert them to PDF.
Depending on the platform you are using, you may have different approaches. For example, for OSX itβs very simple, / System / Library / Printers / Libraries / convert
sorin
source share