mcpField
P
python-pptx

python-pptx

github.com/vamseeachantaDocuments1838 installsUpdated today
Repository

About python-pptx

python-pptx is a skill for automating PowerPoint presentation creation and updates with Python. It documents patterns for slides, shapes, charts, tables, and template-based generation.

Key features

  1. 01Create and update presentations
  2. 02Work with slide layouts and placeholders
  3. 03Add text, images, and shapes
  4. 04Generate charts and tables
  5. 05Customize master slides and templates

Use cases

  1. 01Generate presentations from data
  2. 02Create branded report slide decks
  3. 03Build dashboard presentations
  4. 04Produce training materials from templates

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/vamseeachanta/workspace-hub --skill python-pptx

After installing, type/python-pptxin Claude Code to confirm it loaded.

Details

From the project README

Python Pptx

Overview

Python-pptx is a Python library for creating and updating PowerPoint (.pptx) presentations. This skill covers comprehensive patterns for presentation automation including:

  • Presentation creation with multiple slide layouts
  • Shape manipulation including text boxes, images, and geometric shapes
  • Chart generation for data visualization within slides
  • Table creation for structured data display
  • Master slide customization for branding consistency
  • Template-based generation for consistent presentations
  • Placeholder management for dynamic content insertion

When to Use This Skill

USE when:
  • Generating presentations from data automatically
  • Creating standardized report presentations
  • Building slide decks with consistent branding
  • Automating dashboard presentations
  • Creating training materials from templates
  • Generating client presentations from databases
  • Building presentation pipelines for regular reports
  • Creating slides with charts and tables from data
  • Mass-producing presentations with variable content
DON'T USE when:
  • Need real-time presentation editing (use PowerPoint)
  • Creating presentations with complex animations
  • Need advanced transitions (limited support)
  • Require embedded videos with playback controls
  • Need to preserve complex PowerPoint features
  • Creating presentations from scratch without Python (use PowerPoint)

Prerequisites

Installation
# Basic installation
pip install python-pptx

# Using uv (recommended)
uv pip install python-pptx

# With image support
pip install python-pptx Pillow

# Full installation for charts
pip install python-pptx Pillow lxml
Verify Installation
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.enum.shapes import MSO_SHAPE
from pptx.enum.text import PP_ALIGN

print("python-pptx installed successfully!")

Version History

1.0.0 (2026-01-17)
  • Initial skill creation
  • Core capabilities documentation
  • 6 complete code examples
  • Template-based generation patterns
  • Chart and table creation

Resources

Related Skills

  • python-docx - Word document generation
  • openpyxl - Excel workbook automation
  • plotly - Interactive chart generation
  • pypdf - PDF manipulation

This skill provides comprehensive patterns for PowerPoint automation refined from production presentation generation systems.

Sub-Skills

Comments

Markdown supported