python-pptx
Create, read, and update PowerPoint 2007+ (.pptx) files.
Decision gist · record as of 2026-08-14
Yes. python-pptx is a mature, Production/Stable library with low install friction, no known vulnerabilities, permissive MIT licensing, and broad Python version support (3.8–3.12). Dormant maintenance is a minor concern but not a blocker for stable use; the library's core functionality is unlikely to break. Install it if you need to generate or manipulate PowerPoint files programmatically.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel and four stable runtime dependencies.
- Maintenance is dormant—no updates in 737 days—but the package is marked Production/Stable, has 3487 GitHub stars, and supports current Python versions (3.8–3.12), suggesting it is mature and unlikely to require frequent changes.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions; you need only include a copy of the license.
last release 2024-08-07 (737 days) · last repo commit 2024-08-07 · 3,487 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 67,208,342 downloads/mo, #481 on PyPI
Alternatives
Verify before relying
pip install python-pptx
from pptx import Presentation
prs = Presentation()
slide_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(slide_layout)
prs.save('output.pptx')- Whether dormant status (no commits in 737 days) poses a risk for future Python version compatibility or security issues.
- Performance characteristics when working with large presentations or complex layouts.
What it is and what it does
python-pptx is a Python library for creating, reading, and modifying PowerPoint 2007+ (.pptx) files without requiring Microsoft PowerPoint to be installed. It runs on any Python-capable platform, including macOS and Linux, and works with current Python versions (3.8–3.12). The library is built on four stable runtime dependencies: Pillow for image handling, XlsxWriter for spreadsheet integration, lxml for XML processing, and typing-extensions for type hints.
Typical use cases include generating presentations dynamically from database queries, analytics output, or JSON payloads—often in response to HTTP requests—and extracting text and images from existing PowerPoint files for analysis or indexing. The library can also automate tedious manual slide creation tasks. It is marked Production/Stable and has been in active use since 2013, though it has entered a dormant maintenance phase.
Use it for
- Generate PowerPoint reports from database queries or analytics output in response to HTTP requests.
- Extract text and images from PowerPoint files for search indexing or corpus analysis.
- Automate creation of repetitive slides or templates that would be tedious to produce manually.
- Convert JSON or structured data into formatted presentations programmatically.
- Build slide decks from dynamic content without requiring PowerPoint application licenses.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
python-pptx is a mature, Production/Stable library with low install friction, no known vulnerabilities, permissive MIT licensing, and broad Python version support (3.8–3.12). Dormant maintenance is a minor concern but not a blocker for stable use; the library's core functionality is unlikely to break. Install it if you need to generate or manipulate PowerPoint files programmatically.
Install
python-pptx on PyPI
Before you install
Low install friction with a pure-Python wheel and four stable runtime dependencies. Maintenance is dormant—no updates in 737 days—but the package is marked Production/Stable, has 3487 GitHub stars, and supports current Python versions (3.8–3.12), suggesting it is mature and unlikely to require frequent changes.
License in practice
MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions; you need only include a copy of the license.
Quickstart
pip install python-pptx
from pptx import Presentation
prs = Presentation()
slide_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(slide_layout)
prs.save('output.pptx')
Verify before relying
- Whether dormant status (no commits in 737 days) poses a risk for future Python version compatibility or security issues.
- Performance characteristics when working with large presentations or complex layouts.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesPillowXlsxWriterlxmltyping-extensions |
| Maintenance | Dormant 737 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 67,208,342 / month, #481 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Office/Business :: Office SuitesTopic :: Software Development :: Libraries |
Evidence: python_pptx-1.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “powerpoint generation python”
- python-pptxpython-pptx creates, reads, and updates PowerPoint (.pptx) files…
- pypptx-with-oxmlReads, creates, and updates PowerPoint (.pptx) files, with…
- aspose-slidesAspose.Slides generates, modifies, converts, and renders PowerPoint…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also aspose-slides · pypptx-with-oxml · python-docx · pptx2md · python-docx-ml6 · docx · pyexcel-ezodf · pymupdfpro · ezodf · odfdo