pptx

Solid

USE WHEN a user wants to create a PowerPoint (.pptx) presentation or slides — generates a deck programmatically with python-pptx, adding a title slide, content slides with headings and bullet points, and saving the result as a .pptx file.

Data & Documents 50 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# PPTX creation ## Overview Create PowerPoint (.pptx) presentations programmatically using the cross-platform [`python-pptx`](https://python-pptx.readthedocs.io/) library. This works on macOS, Linux, and Windows with no native Office install and no bundled scripts — you write and run a short Python program with the Bash tool. ## Dependencies ```bash pip install python-pptx ``` That is the only dependency. Do not rely on LibreOffice, `apt-get`, or any platform-specific tooling. ## Workflow 1. **Plan the deck**: Decide the title and the list of content slides (each with a heading and a few bullet points). Keep bullets short — aim for 3–6 per slide. 2. **Design choices**: Briefly state the intended tone/palette before writing code if the user cares about styling; otherwise the default template is fine. 3. **Generate the file**: Run a Python program (below) that builds and saves the deck. 4. **Report the output path** so the user can open the .pptx. ## Generating a presentation Run inline Python with the Bash tool. The example below creates a title slide plus content slides with bullet points: ```bash python3 - <<'PY' from pptx import Presentation from pptx.util import Pt prs = Presentation() # default 4:3; use Presentation() then set slide size for 16:9 if needed # --- Title slide (layout 0: Title + Subtitle) --- slide = prs.slides.add_slide(prs.slide_layouts[0]) slide.shapes.title.text = "Quarterly Review" slide.placeholders[1].text = "Prepared for the team" ...

Details

Author
hesorchen
Repository
hesorchen/muselab
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category