polish-pptx
CLI tool that polishes pptx slides containing multiple arrows, boxes, circles etc. using Claude AI.
Each such slide is rendered (render-pptx), sent to Claude, which returns a polished
SVG of the figure; the SVG is converted into native, editable PowerPoint shapes (boxes with or without rounded corners,
circles, lines with arrow heads, freeforms with curves for paths and icons, text boxes) with their colors, gradients,
line styles and fonts, and added to the slide as one group (with the SVG fitted and centered on the slide).
All other shapes on that slide, except the headline and the main text shape, are moved down by one
slide height, so they sit below the slide (not visible, but still available for editing).
The 3 most recently polished slides of a run are sent along as few-shot examples, so similar
slides get the same style and icons.
Installation
For using this tool, you need an Anthropic Claude API key stored as ANTHROPIC_API_KEY environment variable.
pip install polish-pptx
Usage
polish-pptx deck.pptx --slides 4,5 # writes deck.pptx.polished.pptx
Options
--modelThe Anthropic Claude model to use (defaultclaude-sonnet-5-5).--min-shapesThe criterion to select slides, must have at lest n shapes (default 3).--slidesA comma-separated list of slide numbers to polish, e.g.--slides 1,3,5(optional, overrides--min-shapes).
Metadata
Release files for polish-pptx 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polish_pptx-0.2.0.tar.gz | 21.9 kB | Without provenance | Details for polish_pptx-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polish_pptx-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for polish_pptx-0.2.0-py3-none-any.whl |
Total release size: 40.3 kB
Release files / polish_pptx-0.2.0.tar.gz
| Download URL | polish_pptx-0.2.0.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4db846d1fca9e0a43a1ee7c865bb060be0e706d93df97fda0e3e2dde19190393
|
|
BLAKE2b-256 checksum How to use checksums |
43d359b4a52872374573936b32847ef07e75cded4817085fa007c2c08721a7eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Release files / polish_pptx-0.2.0-py3-none-any.whl
| Download URL | polish_pptx-0.2.0-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bb75a0a4c36f41b3ee180aa67e812f75045f949c38b86f541331e1c92d1531b
|
|
BLAKE2b-256 checksum How to use checksums |
28fd15aaa71b45d0bfe23a0d77e7fff64ec7929ef082b784950a1cb4ba4b2cf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Security for polish-pptx 0.2.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.