Skip to main content

mspptx

Python tools for PowerPoint OOXML documents, including MS-PPTX extension namespaces (p14/p15/p16).

Overview

mspptx is a Python package for working with PowerPoint .pptx files, including the published MS-PPTX specification. It supports extension namespaces that are not part of the base ISO/IEC 29500 standard.

Installation

pip install mspptx

Quick Start

from mspptx.presentation import Presentation
from mspptx.oxml.slide import get_shape_tree
from mspptx.oxml.shapes import make_textbox
from mspptx.oxml.transitions import make_morph_transition

pres = Presentation.new()
slide = pres.add_slide()

sp_tree = get_shape_tree(slide)
sp_tree.append(make_textbox(914400, 914400, 7315200, 914400, "Hello World!", bold=True, size=3200))

slide.append(make_morph_transition())  # MS-PPTX extension!

pres.save("output.pptx")

Specification Reference

https://learn.microsoft.com/en-us/openspecs/office_standards/ms-pptx/efd8bb2d-d888-4e2e-af25-cad476730c9f

Metadata

Release files for mspptx 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mspptx 0.5.0
File Size Uploaded Provenance Actions
mspptx-0.5.0.tar.gz 128.1 kB Without provenance Details for mspptx-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mspptx 0.5.0
File Interpreter ABI Platform Actions
mspptx-0.5.0-py3-none-any.whl Python 3 none any Details for mspptx-0.5.0-py3-none-any.whl

Total release size: 228.6 kB

Release files / mspptx-0.5.0.tar.gz

Download URL mspptx-0.5.0.tar.gz
Size 128.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4c74549ef13e539be3685f04ceb06acc9872acd91e0746ca259b0acb13ec1a48
BLAKE2b-256 checksum
How to use checksums
127588d1f305d4a440f09920c668d9f19ff0a6c8a1e47bc6de122abc08c5113d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mspptx-0.5.0-py3-none-any.whl

Download URL mspptx-0.5.0-py3-none-any.whl
Size 100.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e474ed46f9ca30ba8dea9f1c98f6c8a682844e6df58651ad0de041e24267f36
BLAKE2b-256 checksum
How to use checksums
efb6353967d3c758c800674eb17f6dfa13f364194033accc6dff1c7ccb1c6cad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for mspptx 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page