Small Excel reporting tools for shop and supermarket data.
expense_report/expense_statement.py: builds an expense summary workbook from one or moreexpenses_report*.xlsxfiles.salary_report/salary_summary.py: filters expense rows containingsalary, asks you to confirm each store name, and generates a salary-only statement with one sheet per store.pnl_report/pnl_statement.py: builds a profit and loss workbook from sales, purchase, expense, and purchase-return reports.store_sales_report/sales_summary.py: sums sales for multiple store workbooks and writes a combined summary.supermarket/: notebook, sample workbook, charts, and JSON sales data for supermarket analysis.
- Python 3.14+
openpyxlpandaspython-dateutil
Install dependencies with:
uv syncRun the scripts from the repo root.
python expense_report/expense_statement.pypython salary_report/salary_summary.pypython pnl_report/pnl_statement.pypython store_sales_report/sales_summary.pyYou can also pass the workbook paths explicitly:
python store_sales_report/sales_summary.py Ayoor.xlsx Ettumanoor.xlsx Ulloor.xlsx "World-Market.xlsx"The store sales tool expects the first sheet of each workbook to use this layout:
- Row 1 headers
- Column
HasTotal Rate(INR) - Store name taken from the Excel filename
The repo ignores uploaded Excel inputs, generated summary workbooks, and Python cache files. Those files are local-only and should not be committed.