Automated Report Generator (Notebook → PDF)
NotebooksClaudereportingautomationPythonJupyter
Prompt
Design a Jupyter notebook that automatically generates a formatted report from data. Report title: [REPORT NAME] Report recipient: [WHO RECEIVES THIS REPORT] Frequency: [DAILY / WEEKLY / MONTHLY] Data source: [FILE NAME OR DATABASE TABLE] Key metrics to include: [LIST 4-6 METRICS OR SECTIONS] The notebook should: 1. Load and process the data 2. Compute all metrics 3. Generate charts (one per key metric) 4. Use a Jinja2 HTML template to assemble a report with: - Header with logo placeholder, report date, and recipient - Executive summary section (auto-generated from metrics) - One section per metric with chart + 2-sentence interpretation - Footer with data source and generated timestamp 5. Export as HTML (and optionally PDF via weasyprint) 6. Include a final cell that emails the report (stub code using smtplib) Output all code with clear section headers and comments.