# patrakit

> Python library that turns one report definition into Word, PDF, PowerPoint or Excel.

Create JSON that matches the schema. Run `patrakit validate`, then `patrakit render`.
Read all warnings. Image paths stay inside the report folder. JSON cannot set font folders.
Word charts are images. The free package makes no network calls.

## Docs

- [README](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/README.md): install and usage
- [JSON Schema](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/schema/report.schema.json): report format

## Examples

- [SaaS monthly review](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/src/patrakit/examples/saas_monthly_review.py): PowerPoint and PDF
- [Invoice](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/src/patrakit/examples/invoice.py): PDF and Excel with Decimal
- [Project status](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/src/patrakit/examples/project_status.py): Word and PDF
- [Analytics report](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/src/patrakit/examples/analytics_report.py): pandas to Word and PDF
- [AI evaluation](https://raw.githubusercontent.com/bengalaiswaraj-sketch/patrakit/main/src/patrakit/examples/ai_evaluation_report.py): PDF and Excel
