What you’ll build
A small Python project for repeatable reporting. It validates a CSV, groups amounts by category and produces a standalone HTML report. Includes sample data, tests and all source code. Your data stays on your computer.
Make it yours
Download and extract
Download the source archive and open a terminal in its csv-report folder.
Run the example
Generate a report using the included transactions.
python3 report.py sample.csv --output report.htmlRead and customise
Open report.html in your browser. Replace sample.csv with your own file containing category and amount columns.
Check the project
Run the included validation and escaping tests.
python3 -m unittest discover -v
Explore the source
Loading source…Open raw source ↗Questions and improvements
Share what you build, ask for help or suggest a variation.
Start a discussion →