Convert HTML slides to PPTX with layout fidelity — Playwright extracts computed layout, python-pptx reproduces it
Project description
apograph
Convert HTML slides to PPTX with layout fidelity.
Playwright renders the HTML, extracts every element's computed position and styles, then python-pptx places shapes at proportional positions. The HTML is the single source of truth.
Install
pip install apograph
playwright install chromium
Usage
apograph slide.html # → slide.pptx
apograph slide.html --output deck.pptx # custom output path
apograph slide.html --images ./headshots # image directory
apograph slide.html --accent-color "rgb(219,0,17)" # top accent bar
apograph slide.html --font "Century Gothic" # override font
apograph slide.html --extract-only # dump layout as JSON
Project details
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 apograph-0.3.1.tar.gz.
File metadata
- Download URL: apograph-0.3.1.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3362f33426bba92127e09b23af6c76d00f2f1212790a3eac07a0d963f6d49259
|
|
| MD5 |
4008a68d6c8cfa4a0463f61816b414b7
|
|
| BLAKE2b-256 |
e66a231a9937972a2f99879776f10f6219257595da1cea4723fb1b262e0a1a14
|
File details
Details for the file apograph-0.3.1-py3-none-any.whl.
File metadata
- Download URL: apograph-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae6ceeccd99849d062c7d59e9714d0df24a900403c587bcd3fdf74b30473e6d6
|
|
| MD5 |
a320c0f5719dcf170dfd76b3ce124463
|
|
| BLAKE2b-256 |
b621b475ed5e699cde450c6fd46dfe4535bdc2b192f9b4031200d543919a64f2
|