demos
demos

Reputation: 2630

Convert HTML to PDF in python on Google App Engine

I have had a look at this thread:

How to dynamically generate a pdf from Google's appengine?

I know we can use ReportLab, however, I am not sure how i can give it a HTML file and get a PDF.

Basically, HTML in and PDF out

Upvotes: 1

Views: 3845

Answers (3)

Très
Très

Reputation: 804

xhtml2pdf states that the source is pure python. you should be able to use this as a module in your application.

Upvotes: 0

Nik Chankov
Nik Chankov

Reputation: 6047

Try this: html-2-pdf.com

It's build in top of: wkhtmltopdf

It's really easy to use it. It's stand-alone so just upload a file on your (Linux) system and you are ready to produce PDFs

Upvotes: 1

Guillaume Lebourgeois
Guillaume Lebourgeois

Reputation: 3873

if you can use an external lib, there is xhtml2pdf

Upvotes: 2

Related Questions