Back to Library

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.

More from Notebooks

Notebooks

Jupyter Notebook Explainer

I have a Jupyter notebook I need explained. Break it down cell by cell and give me a plain-English summary. Context: [WHAT THIS NOTEBOOK IS FOR / WHO WROTE IT]...
Claude
Notebooks

Data Cleaning Notebook Builder

Write a complete, ready-to-run Jupyter notebook for cleaning and validating my dataset. Dataset description: [DESCRIBE YOUR DATA, e.g. 'CSV of sales transactio...
Claude
Notebooks

EDA (Exploratory Data Analysis) Notebook

Write a complete exploratory data analysis (EDA) Jupyter notebook for my dataset. Dataset: [DATASET NAME OR DESCRIPTION] Columns and types: [LIST COLUMN NAMES ...
Claude
Back to Library