I need to generate documents from a web application and would like to do this using the Python language and LaTeX, are there any tools that will help me?
Edit
This Application will be hosted on Linux, we can run any external commands using popen, there is currently no defined input document format, nor any storage format, but output to the end user should be PDF.
Edit 2
These documents will have complex tables, graphs, and require typeset equations - hence the reason to use LaTeX. We would also prefer not to use intermediate files such as xml->html->pdf
Ideally I would like something like pyTeX or plasTeX that could render directly to PDF.

pdflatexon the documents; somewhat in the spirit of what the arXiv does? – Andrew Stacey Aug 3 '10 at 12:58pdflatexas an external command? – Andrew Stacey Aug 6 '10 at 12:25