Python tools for PowerPoint OOXML documents, including MS-PPTX extension namespaces
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file mspptx-0.2.1.tar.gz.
File metadata
- Download URL: mspptx-0.2.1.tar.gz
- Upload date:
- Size: 117.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebf67520473544e518e1896aea225574ef1c7879959329212f97317439dc3643
|
|
| MD5 |
a4ed5dc839df2bc72fcdcec9b360ad57
|
|
| BLAKE2b-256 |
092d519224a725ffe25dcb1eb79a3aa47254702e896566c51bba6179334bd5f3
|
File details
Details for the file mspptx-0.2.1-py3-none-any.whl.
File metadata
- Download URL: mspptx-0.2.1-py3-none-any.whl
- Upload date:
- Size: 115.5 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 |
09084262fec7de47d89a09059f9163e160c0f0270f4dd50fc2c00504c38d091d
|
|
| MD5 |
56df61256770e987ad2bc057d8eb6cdb
|
|
| BLAKE2b-256 |
331d9c81bc9bcd1c80216ef2026ee8ab36ced5db9b9e1e3bef00c62dc47c7289
|