scanny/python-pptx

Create Open XML PowerPoint documents in Python

Python

3,550

480 commits

updated Aug 7, 2024

See the code

README

*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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Significant stargazers

Sebastian Boehler

34 followers · starred Jan 2026

Bowen Liang

168 followers · starred Mar 2025

Zack M. Davis

148 followers · starred May 2018

Noah

294 followers · starred May 2013

scanny/python-pptx

Create Open XML PowerPoint documents in Python

Python

3,550

480 commits

updated Aug 7, 2024

See the code

README

*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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Significant stargazers

Sebastian Boehler

34 followers · starred Jan 2026

Bowen Liang

168 followers · starred Mar 2025

Zack M. Davis

148 followers · starred May 2018

Noah

294 followers · starred May 2013