Blog
Tutorials, comparisons, and engineering deep-dives on slide generation.
Tutorials, comparisons, and engineering deep-dives on slide generation.
python-pptx has no animation or transition API — and none is planned. But template-authored animations survive open/save, progressive-disclosure slides replace most entrance builds, and raw XML injection exists for the determined. The honest reference, with runnable code.
Fonts live on runs; paragraph.font is the paragraph's default; None means inherited, not unset. The missing documentation page for python-pptx text formatting — the inheritance chain, the tf.text trap, and working code you can run in the browser.
Can python-pptx add animations or transitions? No — but template-authored ones survive, and two workarounds exist. Can it render slides to images? Also no — it writes XML; rendering needs LibreOffice, PowerPoint, or an API. Is it safe on untrusted files? Largely yes. 11 production limitations from running slideforge.dev, each with the workaround that ships — with code.
Three working approaches side-by-side: a 60-line python-pptx script, a typed SlideForge intent that renders in under a second, and running your own python-pptx code in a managed sandbox with themes, widgets, and output validation. Updated July 2026.
We tested 8 presentation-generation APIs — python-pptx (free, steep learning curve) through Aspose ($4K/yr enterprise). Pricing, output quality, and which fits your stack.