@roger: you are welcome. @villas: probably reportlab. @ramos: reportbro is open-source license for non-commercial open-source or personal projects only. @clemens: interesting but you probably have to handle everything e.g. page breaks, page headers, etc. , right?.
My need was to generate PDF documents (e.g. invoices) with report headers/footers, page headers/footers, detail lines, and even sub-reports from database queries without having to handle all the intricacies (e.g. page breaks, total, page numbers, etc.) and PollyReports fit the bill in a small and easy to use package. What is missing is a WYSIWYG page designer to simplify the layout creation. As an alternative I have been looking for a way to convert a template created by some open source program such as OpenOffice, FreeOffice, or LibreOffice to the bands/elements used in PollyReports but without much luck so far. Regards, Denes On Tuesday, October 6, 2020 at 11:16:18 AM UTC-4 Clemens wrote: > Hi, > > my fav is just to write a TeX file by Python and then trigger LaTeX to > produce the PDF document. I'm using this solution since 2 years after I was > really frustrated by the Python PDF packages available. LaTeX gives you all > freedom to produces a PDF document, it's perfectly documented (finding a > solution for every problem), it's absolutely stable, it can be expanded by > packages, you have things like a table of contents ... Long story short: > I like it! > > Regards > Clemens > > On Thursday, October 1, 2020 at 4:58:39 PM UTC+2 DenesL wrote: > >> >> While searching for a Python PDF package I found PollyReports and was >> pleasantly surprised by it, and it is also nicely documented. >> >> PollyReports is a small, light module providing a simple way to generate >> reports from databases using Python. >> >> Reference: https://pythonhosted.org/PollyReports/docs.html >> Tutorial: https://pythonhosted.org/PollyReports/tutorial.html >> Other features (subreports): https://opensource.gonnerman.org/?cat=4 >> >> I hope you find it as useful as I did. >> >> Regards, >> Denes >> >> >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/e6cb8ed6-5f67-4a02-a172-3cfdb5becf08n%40googlegroups.com.