120
votes
15answers
44k views

Good PDF report generator tool for Python

What is a good tool for PDF report generation in Python? I've checked out ReportLab, but it seems to be awfully low-level for what I want to do. My current hunch is to call TeX on the command-line and ...
31
votes
5answers
14k views

html to pdf for a Django site

For my django powered site, I am looking for an easy solution to convert dynamic html pages (generated using django views and templates datas generated using GET forms) which also contains some graph ...
23
votes
4answers
19k views

Python PDF library [closed]

what's the best Python PDF library ? I need to make some PDF with many grid. I'm looking for a library that allow to manage pages (multi-page): the library should calculate when the page is ended and ...
14
votes
5answers
941 views

How to unit test a Python function that draws PDF graphics?

I'm writing a CAD application that outputs PDF files using the Cairo graphics library. A lot of the unit testing does not require actually generating the PDF files, such as computing the expected ...
9
votes
4answers
484 views

Django/Python: generate pdf with the proper language

I use Pisa/xhtml2pdf in my Django apps to generate pdf from an HTML source. That is: I generate the HTML file formatted with all 'printing' stuffs (e.g. page-breaks, header, footer, etc.) I convert ...
7
votes
2answers
5k views

sphinx (python) pdf generator

I use sphinx python documentation generator. Creating pdf documents are very easy and simple but.... i have one problem. All generated pdf documents have english words like "chapter", "release", ...
7
votes
1answer
1k views

Markdown : Is there any direct way to generate pdf from markdown file by python

As the title, I want to use markdown as my main write format and I need to generate PDF files from markdown using pure python.
6
votes
3answers
244 views

Is there a programmatic way to transform a sequence of image files into a PDF?

I have a sequence of JPG images. Each of the scans is already cropped to the exact size of one page. They are sequential pages of a valuable and out of print book. The publishing application requires ...
6
votes
5answers
1k views

Jinja-like for Pdf in Python

I am looking for the best accurate tool for PDF in Python that works like Jinja does for HTML. What are your suggestions?
6
votes
2answers
3k views

How can I generate a report file (ODF, PDF) from a django view

I would like to generate a report file from a view&template in django. Preferred file formats would be OpenOffice/ODF or PDF. What is the best way to do this? I do want to reuse the page layout ...
6
votes
3answers
822 views

Does a library exist to remove passwords from PDFs programmatically? [closed]

Does a library exist that will remove "owner" passwords from PDF documents so that the text can then be programmatically extracted from them? Something like PDF Technologies' Password Recovery tool, ...
5
votes
3answers
1k views

How to include page in PDF in PDF document in Python

I am using reportlab toolkit in Python to generate some reports in PDF format. I want to use some predefined parts of documents already published in PDF format to be included in generated PDF file. Is ...
5
votes
3answers
3k views

Docx to pdf using openoffice headless way too slow

I've been using PHPWord for docx files generation. And it's been working great. But now I have the need to also make available some of those files on a pdf version. After a few research I found ...
5
votes
3answers
2k views

Can anyone recommend a decent FOSS PDF generator for Python?

I need a basic pdf generator that'll let me toss some images and text into a pdf file. The ability to have some basic drawing commands (lines and so forth) would also be a plus. I did read through ...
5
votes
1answer
1k views

ReportLab: How to align a textobject?

I have the following ReportLab code: t = c.beginText() t.setFont('Arial', 25) t.setCharSpace(3) t.setTextOrigin(159,782) t.textLine("Some string") c.drawText(t) What I want ...

1 2 3 4 5 7
15 30 50 per page