Posts: 4,647
Threads: 1,494
Joined: Sep 2016
i found 3 packages for manipulating PDFs in Python. how many used one or more o f these? i am curious how good they are. my goal is basically making PDFs as output, many with tables of data. currently i do this by making HTML and manually converting it to PDF by printing to a file. this is awkward and i want to make this more automated. can you suggest how well each works or suggest more packages? so far i have in my list:
pdfrw
,
PDFMiner
, and
PyPDF2
.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
(Jan-28-2017, 06:23 AM)wavic Wrote: Have you seen http://www.reportlab.org?
not until i tried the link. thanks!
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
reportlab seems to be focused on producing reports which makes it of interest to me as that is often what i need to do in my cloud-based work and in other things, or at least something like a report, so i will be exploring it. the current project was just how best to send some text results to a non-profit group making some word games for people with
alzheimer's. they run
Windows on their computers. the goal is them printing my text results. the text files have been getting mangled in the process, mostly font size and such, with page overflow on the right and down.
PDF files are at least coming out consistently ... the way i see the PDF is the same as how it prints for them. so my plan is to do all my results in PDF format. for that i need at least minimal PDF building capability, at least enough to handle pages of fixed text layout. i have been manually making them by having
Firefox read the text file and do print-to-file in PDF format.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.