Skip to main content

Fork of python-pptx with additional formatting features (shadows, bullets, table borders, line caps/joins, line end types) and OOXML customXml support (custom doc properties, customXml data parts).

Project description

Fork notice

This distribution, python-pptx-extended, is a fork of scanny/python-pptx at upstream version 1.0.2. The import name is unchanged (import pptx), so existing user code continues to work. The fork adds the following features on top of upstream:

  • Full shadow effect API on ShadowFormat (outer/inner/preset shadows).

  • Bullet and numbered list formatting on paragraphs.

  • Per-edge border styling for table cells.

  • cap_style and join_style properties on LineFormat.

  • Line-end shape types (arrow / triangle / oval / etc.).

  • OOXML customXml support — Presentation.custom_properties (Mapping over custom document properties) and Presentation.custom_xml_parts (Sequence over customXml data parts), supporting both presentation-scoped (Office.js default) and package-scoped (VSTO / SharePoint) topologies.

Because the import package name (pptx) is shared with the upstream distribution, python-pptx and python-pptx-extended cannot be installed into the same environment — install one or the other.

About python-pptx

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_pptx_extended-1.2.0.tar.gz (9.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_pptx_extended-1.2.0-py3-none-any.whl (497.3 kB view details)

Uploaded Python 3

File details

Details for the file python_pptx_extended-1.2.0.tar.gz.

File metadata

  • Download URL: python_pptx_extended-1.2.0.tar.gz
  • Upload date:
  • Size: 9.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for python_pptx_extended-1.2.0.tar.gz
Algorithm Hash digest
SHA256 47eefb799d35c76617549aaa80110ee9d46407f2326674594024b2d17cd7176a
MD5 0ab76e2145bc637c190657eff4c8381f
BLAKE2b-256 1fd3c589c9763b3d97a28b8aad5336d17c01e16e005a94b9e44d0b222ac8178e

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_pptx_extended-1.2.0.tar.gz:

Publisher: publish.yml on MHoroszowski/python-pptx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_pptx_extended-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_pptx_extended-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 891c694aa64717679f666e33f9372f55391e29adccf601bbcd7fb62ef3e4263e
MD5 fedeaccf14b5aeb12c5961a0fd97ff6b
BLAKE2b-256 42f871a1a6a9e32eb7b303260ed7b1924a0a427dbdec43df3eeff23b880a93a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_pptx_extended-1.2.0-py3-none-any.whl:

Publisher: publish.yml on MHoroszowski/python-pptx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page