Perth Linux Users' Group

May 2004 Seminar

Title: Generating quality PDF reports using Python and ReportLab
When: Tuesday 11 May 2004, 7:30pm - 9:00pm
Where: Central TAFE Lecture Theatre, Perth
Presenter: Craig Ringer

Abstract:This talk will cover the use of ReportLab with Python and the database of your choice to generate well-presented PDFs and printed reports. A method for dynamically generating PDFs for web use, cgi-script style, will also be covered.

Basic knowledge of Python will be helpful, but not required.

Slides and Extras from Craig:

You'll probably want the full presentation, including all the examples and the source code to the presentation.

Alternately, you can download just the PDF.

Extra software:

For your convenience, here's a list of links to the home pages of the software you're likely to need.

  • Python. You'll want to use at least Python 2.2, preferably Python 2.3.
  • You'll obviously be wanting ReportLab.
  • PyPgSQL is likely to be useful if you'll be talking to a database, though you have plenty of choice when it comes to databases and interface modules.
  • ReportLab works best with the Python Imaging Library installed.
  • Psyco is a handy JIT compiler for Python.

Back to the PLUG seminars page, the main events page, or the PLUG home page.