reppy is a PDF-Report Generator for databases (MySQL, Postgres, CSV) written in Python. The report definition is based on an XML-template, which can be edited with the included program XTRed. It needs the python library reportlab for pdf-creation.
IDEA is a package for input and output of data out of/ into a database. Beginning as a web-application, IDEA generates your HTML-forms for the input and gives you some HTML- or PDF-output back. Everything IDEA does comes from one XML-file per form.