A robust, automated tool to generate professional, fully editable, consulting-style native PowerPoint (.pptx) presentations using Python.
It supports multiple high-density business layouts (covers, multi-columns, timelines, matrices, image-text) and automatically handles text scaling, color theming, and vector icon integration.
- Multiple Layouts:
cover,two-column,three-column,timeline(auto-stretching),matrix(2x2), andimage-text. - Auto Vector Icons: Fetches high-quality SVG icons from Iconify API (e.g.,
lucide:shield), automatically recolors them to match the corporate theme, and inserts them as native.pptxelements. - Smart Typography: Leverages PPT's auto-fit to prevent text overflow. Automatically bolds text before colons in bullet points.
- Fully Editable: Generates 100% native
.pptxshapes and text boxes. No uneditable background images.
Requires Python 3.x and the following packages:
pip install python-pptx cairosvg requests pillow(Note: cairosvg may require system-level Cairo graphics libraries to be installed).
Pass a JSON file containing the presentation structure to the script:
python generate_ppt.py data.json output.pptxFang Min
Email: 130218391+Marathon07@users.noreply.github.com
This project is licensed under the MIT License - see the LICENSE file for details.