Metadata-Version: 2.4
Name: excalidraw-skill-pack-render
Version: 0.1.0
Summary: Render Excalidraw JSON to PNG. Python binding for excalidraw-skill-pack.
Author: Timur Isachenko
License-Expression: MIT
Requires-Python: >=3.11
Requires-Dist: playwright>=1.40.0
Description-Content-Type: text/markdown

# excalidraw-render

Python binding for rendering Excalidraw JSON to PNG, part of excalidraw-skill-pack.

## Install

```bash
pip install excalidraw-skill-pack-render
playwright install chromium
```

## Python API

```python
from excalidraw_render import render_to_png

png_bytes = render_to_png(json_str, theme="default-sketchy", scale=2, width=1920)
```

## CLI

```bash
excalidraw-render diagram.excalidraw --output diagram.png --scale 2 --width 1920
```

## Parity with Node binding

The Python and Node renderers share `packages/shared/render_template.html` and produce pixel-equivalent output at matching scale/width settings.
