pptxlib
A Python library for automating Microsoft PowerPoint operations.
Overview
pptxlib is a high-level Python library that provides a simple and intuitive interface for automating Microsoft PowerPoint operations. It allows you to create, modify, and manage PowerPoint presentations programmatically.
Features
- Create and manage PowerPoint presentations
- Add and modify slides
- Work with shapes, tables, and charts
- Customize text, colors, and formatting
- Automate presentation generation
- Support for Windows platforms
Quick Start
from pptxlib import App
app = App()
# Optional: keep the window minimized (PowerPoint doesn't allow hiding the UI)
app.minimize()
# Or create a presentation without opening a window
prs = app.presentations.add(with_window=False)
slide = prs.slides.add()
shape = slide.shapes.add("Rectangle", 100, 100, 200, 100)
Installation
pip install pptxlib
Optional extras:
- For image support (Pillow):
pip install "pptxlib[images]"
- For Matplotlib figure export:
pip install "pptxlib[figures]"
Requirements
- Windows operating system
- Microsoft PowerPoint
- Python 3.11 or higher
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pptxlib-0.2.8.tar.gz
(15.3 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
pptxlib-0.2.8-py3-none-any.whl
(19.7 kB
view details)
File details
Details for the file pptxlib-0.2.8.tar.gz.
File metadata
- Download URL: pptxlib-0.2.8.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f33a63726fae7ff5e991c9779c13435d9186c9b7502dc6438ce0f324bd809cc7
|
|
| MD5 |
20b5f124783f79c15325d5c51a5a38f9
|
|
| BLAKE2b-256 |
f3120e629af4f4f3535a79fd0682e18f66f3d4c65f3544b9ffeda979dff9fa8f
|
File details
Details for the file pptxlib-0.2.8-py3-none-any.whl.
File metadata
- Download URL: pptxlib-0.2.8-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
120b111de7aaf28dc5b6665db1820a2b332482556cc94d07f6089179b1c7b500
|
|
| MD5 |
0fef449778b6841f198fb7de23747db4
|
|
| BLAKE2b-256 |
a6a0804428321a79c28b7cd86929374fd7b5e6ec3a570340d0fec1647d801be0
|