Skip to content

Automate Microsoft PowerPoint operations. Create, modify, and manage PowerPoint presentations programmatically with a simple and intuitive interface

License

Notifications You must be signed in to change notification settings

daizutabi/pptxlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pptxlib

PyPI Version Python Version Build Status Coverage Status

A Python library for automating Microsoft PowerPoint operations.

Overview

pptxlib is a high-level Python library that provides a simple and intuitive interface for automating Microsoft PowerPoint operations. It allows you to create, modify, and manage PowerPoint presentations programmatically.

Features

  • Create and manage PowerPoint presentations
  • Add and modify slides
  • Work with shapes, tables, and charts
  • Customize text, colors, and formatting
  • Automate presentation generation
  • Support for Windows platforms

Quick Start

from pptxlib import App

app = App()
# Optional: keep the window minimized (PowerPoint doesn't allow hiding the UI)
app.minimize()
# Or create a presentation without opening a window
prs = app.presentations.add(with_window=False)
slide = prs.slides.add()
shape = slide.shapes.add("Rectangle", 100, 100, 200, 100)

Installation

pip install pptxlib

Optional extras:

  • For image support (Pillow):
pip install "pptxlib[images]"
  • For Matplotlib figure export:
pip install "pptxlib[figures]"

Requirements

  • Windows operating system
  • Microsoft PowerPoint
  • Python 3.11 or higher

About

Automate Microsoft PowerPoint operations. Create, modify, and manage PowerPoint presentations programmatically with a simple and intuitive interface

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages