~/talk

We Don’t Need No Stinkin’ PDF Library: Build PDFs with Python the Lazy Way

Talkat PyOhio 2016 · 2016-07-30..07-31· [developer-experience, python]
links:none on file
slides:none on file

Advocates using Libre/OpenOffice as the authoring tool, then edit content.xml inside the zipped ODF, use bookmarks as placeholders (found via XPath) to insert dynamic values, rezip and run unoconv to produce PDFs. Compares this to ReportLab: ReportLab is pure Python and flexible; the Libre/OpenOffice route is far faster when most pages are static and only a few fields change, but it’s brittle for creating new complex elements, limited for parallel scaling (single instance issues) and works reliably for demos and batch jobs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:16Method overview
  3. 5:55ReportLab demonstration
  4. 9:26LibreOffice demonstration
  5. 15:52Comparison of methods
  6. 21:00Real-world examples
  7. 24:28Strengths and weaknesses
  8. 27:05Workflow and efficiency
  9. 37:06Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.