python-pptx
Create, read, and update PowerPoint 2007+ (.pptx) files.
Install
python-pptx on PyPI
pip
pip install python-pptxuv
uv add python-pptxpoetry
poetry add python-pptxPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — Pillow, XlsxWriter, lxml, typing-extensions |
| Maintenance | dormant — 736 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: python_pptx-1.0.2-py3-none-any.whl
Keywords: powerpoint, ppt, pptx, openxml, office
About python-pptx
from the package's own PyPI description — quoted content, verbatim
python-pptx is a Python library for creating, reading, and updating PowerPoint (.pptx) files.
A typical use would be generating a PowerPoint presentation from dynamic content such as a database query, analytics output, or a JSON payload, perhaps in response to an HTTP request and downloading the generated PPTX file in response. It runs on any Python capable platform, including macOS and Linux, and does not require the PowerPoint application to be installed or licensed.
It can also be used to analyze PowerPoint files from a corpus, perhaps to extract search indexing text and images.
In can also be used to simply automate the production of a slide or two that would be tedious to get right by hand, which is how this all got started.
More information is available in the python-pptx documentation_.
Browse examples with screenshots_ to get a quick idea what you can do with
python-pptx.
.. _python-pptx documentation:
https://python-pptx.readthedocs.org/en/latest/
.. _examples with screenshots:
https://python-pptx.readthedocs.org/en/latest/user/quickstart.html
Read as markdown · JSON record · Source repository · Homepage · Docs
Similar packages
permissive · top 1,000 on PyPI
olefilepermissive · top 1,000 on PyPI
pymupdfagpl · top 1,000 on PyPI
filetypepermissive · top 1,000 on PyPI
xlsxwriterpermissive · top 1,000 on PyPI
peeweeunclear · top 1,000 on PyPI
sentence-transformerspermissive · top 1,000 on PyPI
jedipermissive · top 1,000 on PyPI
omegaconfpermissive · top 1,000 on PyPI
openpyxlpermissive · top 1,000 on PyPI