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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mspptx-0.5.0.tar.gz
(128.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mspptx-0.5.0-py3-none-any.whl
(100.4 kB
view details)
File details
Details for the file mspptx-0.5.0.tar.gz.
File metadata
- Download URL: mspptx-0.5.0.tar.gz
- Upload date:
- Size: 128.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c74549ef13e539be3685f04ceb06acc9872acd91e0746ca259b0acb13ec1a48
|
|
| MD5 |
1b95db4d4ab974558e11b3c419de8e59
|
|
| BLAKE2b-256 |
127588d1f305d4a440f09920c668d9f19ff0a6c8a1e47bc6de122abc08c5113d
|
File details
Details for the file mspptx-0.5.0-py3-none-any.whl.
File metadata
- Download URL: mspptx-0.5.0-py3-none-any.whl
- Upload date:
- Size: 100.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e474ed46f9ca30ba8dea9f1c98f6c8a682844e6df58651ad0de041e24267f36
|
|
| MD5 |
c353a148e1f9ee48d6543e9523e17485
|
|
| BLAKE2b-256 |
efb6353967d3c758c800674eb17f6dfa13f364194033accc6dff1c7ccb1c6cad
|