python-pptx

Create and manipulate PowerPoint presentations with python-pptx.

15|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tristan-mcinnis/pptx-from-layouts-skill --skill python-pptx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-pptx
Source: https://github.com/tristan-mcinnis/pptx-from-layouts-skill/tree/main/alternatives/python-pptx
Command: npx skills add https://github.com/tristan-mcinnis/pptx-from-layouts-skill --skill python-pptx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, Pillow, lxml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation and manipulation of PowerPoint presentations, eliminating the need for manual slide design and content population.

Core Features & Use Cases

  • Presentation Creation: Build presentations from scratch with various slide layouts, including title slides, content slides, and blank slides.
  • Advanced Formatting: Apply rich text formatting, including bold, italics, colors, subscripts, and superscripts.
  • Chart Generation: Create various chart types (column, line, pie, bar, stacked, doughnut) with customizable data and labels.
  • Table Creation: Generate and format tables with headers, data rows, and alternating row colors.
  • Image and Shape Manipulation: Add images, create custom shapes, connectors, and callouts for visual appeal.
  • Template-Based Generation: Populate presentations using predefined templates with placeholder replacement for dynamic content.
  • Use Case: Automatically generate a quarterly business review presentation by populating a branded template with sales data, key highlights, and performance charts.

Quick Start

Use the python-pptx skill to create a basic presentation with a title slide and a content slide.

Frequently Asked Questions about python-pptx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PowerPoint presentation generation from dynamic data?

Automate PowerPoint presentation generation by using python-pptx to populate slides with dynamic data, applying various layouts, text formatting, charts, tables, and images without manual design.

Can I create charts and tables in PowerPoint slides programmatically?

Yes, create charts and tables in PowerPoint slides programmatically by generating column, line, pie, bar, stacked, and doughnut charts with customizable data, alongside formatted tables with headers and alternating row colors.

Does python-pptx support populating predefined PowerPoint templates with dynamic content?

python-pptx supports populating predefined PowerPoint templates by replacing placeholders with dynamic content, allowing you to generate branded presentations like quarterly business reviews with sales data and performance charts.

What is the best way to add images and custom shapes to pptx slides?

The best way to add images and custom shapes to pptx slides is using python-pptx to insert images, create custom shapes, build connectors, and add callouts for visual appeal within your presentation layouts.

How do I apply rich text formatting to PowerPoint slides using Python?

Apply rich text formatting to PowerPoint slides using Python by leveraging python-pptx to add bold, italics, colors, subscripts, and superscripts to text elements across various slide layouts.