Generate styled PDF documents from structured JSON data using ReportLab.
python scripts/generate_pdf.py --output report.pdf --data '{
"title": "Monthly Report",
"subtitle": "March 2026",
"author": "PragDev",
"sections": [
{"type": "text", "text": "Introduction text here."},
{"type": "highlight", "text": "Key metric: +15%"},
{"type": "list", "items": ["Item 1", "Item 2"]}
]
}'
See references/schema.md for complete schema documentation.
--output or data.outputoutput.pdf in current directoryaccent_color and header_color for brand colors共 1 个版本