Metadata-Version: 2.4
Name: apograph
Version: 0.2.0
Summary: Convert HTML slides to PPTX with layout fidelity — Playwright extracts computed layout, python-pptx reproduces it
Author: Terry Li
License-Expression: MIT
Keywords: converter,html,pptx,presentation,slide
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business
Requires-Python: >=3.11
Requires-Dist: cyclopts>=4.0
Requires-Dist: playwright>=1.40
Requires-Dist: porin>=0.3
Requires-Dist: python-pptx>=1.0
Description-Content-Type: text/markdown

# 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

```bash
pip install apograph
playwright install chromium
```

## Usage

```bash
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
```
