I’ve been using iText – the Java PDF library – a lot recently and seeing as I’ve been getting into Python I wanted something similar to iText for that. I managed to dig these up:
ReportLab -Â A PDF creation tool in the iText mould but the ReportLab site hasn’t been updated since 2005 so looks like this is a dead project.
PyPDF -Â A simple library that lets you change PDF metadata (author, title, etc) and to crop, join or split PDF files. PyPDF doesn’t have the ability to modify a page’s content.
HTML2PDF -Â A the name suggests, this takes some HTML input and creates a PDF from it. Looks good.
Another option may be to compile iText using the GNU Java compiler and then to create a Python wrapper for it. I’ve never used GCJ so I don’t know if it would even compile iText cleanly.
Sign up for our daily email newsletter:
You must log in to post a comment.