What Python PDF libraries are there?
I need to make some PDF with many grids, and I’m looking for a library that allows to manage pages (multi-page). The library should calculate when the page is ended and then create the next page.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
The two that come to mind are:
Method 2
Reportlab. There is an open source version, and a paid version which adds the Report Markup Language (an alternative method of defining your document).
Method 3
I already have used Reportlab in one project.
Method 4
There is also http://appyframework.org/pod.html
which takes a LibreOffice or OpenOffice document as template and can generate pdf, rtf, odt …
To generate pdf it requires a headless OOo on some server.
Documentation is concise but relatively complete.
http://appyframework.org/podWritingTemplates.html
If you need advice, the author is rather helpful.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0