Metadata-Version: 2.4
Name: openroland-fastapi-core
Version: 0.1.21
Summary: Reusable FastAPI bootstrap helpers.
License-Expression: MIT
Project-URL: Homepage, https://github.com/OpenRoLand/python
Project-URL: Repository, https://github.com/OpenRoLand/python
Project-URL: Issues, https://github.com/OpenRoLand/python/issues
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.139.0
Requires-Dist: starlette>=1.3.1
Requires-Dist: sqlalchemy>=2.0.51
Provides-Extra: pdf-preview
Requires-Dist: pdf2image>=1.17; extra == "pdf-preview"
Requires-Dist: Pillow>=12.3.0; extra == "pdf-preview"

# openroland-fastapi-core

Reusable FastAPI bootstrap helpers.

## Optional extras

### `pdf-preview`

Install Poppler-backed PDF preview helpers:

```bash
pip install "openroland-fastapi-core[pdf-preview]"
```

Requires a system Poppler install (or `POPPLER_PATH` / `PdfPreviewSettings.poppler_path`).
Provides `count_pdf_pages`, `render_pdf_page_png`, MIME checks, error
classification, and preview storage key helpers in `openroland_fastapi_core.pdf_preview`.
