A module to make using ReportLab a little easier from web2py.

The end result is for a line chart I am working on, and I know ReportLab has chart functions, but reportlabs charts/grid function(s) don't give me what I need for my project, so I have been forced to make my own grid with major/minor lines (maybe I missed something and open to alternative techniques, but currently it looks fine in PDF form, just not at the printer).

The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics.

We love Python, and if you're interested in Django and ReportLab, there's a good chance you do as well. Our templating tool, preppy, gives you the chance to include python expressions within the document template where necessary. Certainly, most of your Python code belongs in utilities and views within your Django app, but some things just make sense to live in the template. See for example our small script which determines the row heights of the table and the corresponding height of the chart:


which version of reportlab do you prefer?

I am using ReportLab/Python (opensource) to make these reports. Below is a snippet of my code.

Most of the time, the first method works. However, you should know about this fallback method in case you run into weird issues with your TrueType fonts. Now we’re ready to learn about Reportlab’s standard fonts.


This demo site provides you with ReportLab’s Enterprise-level solutions you can try from your desktop.
Everything in it is proven technology; elements have been in production use in high volume environments for major financial institutions and others reputable organisations.
This Online Demo is meant to give a general overview of some of the aspects of the ReportLab’s solutions.
If you would like to know more about our solutions, please .