Tamila Panahi

Tally

Own project, digital, 2026

A personal budget tracker for the terminal. Give it a bank statement and see where your money went.

The word tally above green horizontal bars showing spending by category
Type
Command-line tool
Language
Python 3.9+
Dependencies
None beyond Python
Licence
MIT, open source

The brief

Make a budgeting tool that answers one question quickly: where did my money go this month?

Most budgeting apps want an account and a connection to your bank. Tally wants neither. You download a CSV statement from your bank, give it to Tally, and read a clear report in the terminal. Your data stays in one file on your own computer and the tool makes no network calls.

It also had to cope with real statements, which are messy: different column names, date formats and separators from every bank.

Process

  1. Private by design

    Everything lives in a single local database file. There is no sign-up, no sync and nothing to install beyond Python itself, which also means nothing to break later.

  2. Statements as they really are

    The importer detects columns and date formats from the whole file. It handles a single signed amount or separate money-in and money-out columns, UK, US and ISO dates, commas, semicolons or tabs, and account details above the header row. Importing the same statement twice is safe because duplicates are skipped.

  3. Rules you teach once

    A rule such as 'anything with TESCO is groceries' applies to past and future transactions. Rules can be plain text or patterns, with priorities so a specific rule beats a general one. Anything fixed by hand is never overwritten.

  4. A report you can read at a glance

    The monthly report is a bar chart drawn in text, with each budget shown as a percentage beside its bar. Refunds lower the spend in their category instead of counting as income, so the totals match how people think about money.

Final work

October 2026
────────────────────────────────────────────
Money in   £2,450.00
Money out  £1,926.25
Net         +£523.75

Spending by category
  rent           £950.00  ████████████████████████
  bills          £247.40  ██████▎
  savings        £200.00  █████
  groceries      £183.14  ████▋                      73% of £250.00
  shopping       £158.38  ████
  eating out      £87.75  ██▎                        98% of £90.00
  transport       £47.60  █▎                         79% of £60.00
  subscriptions   £36.98  ▉
  uncategorised   £15.00  ▍
The monthly report, using the sample data that ships with the project.
# 1. Import a statement. Columns and date format are detected automatically.
tally import ~/Downloads/statement.csv

# 2. Teach it your categories. Rules re-apply to past transactions too.
tally rules add "TESCO" groceries
tally rules add "PRET|COSTA|DELIVEROO" "eating out" --regex

# 3. Budgets and reports
tally budget set groceries 250
tally report --month 2026-09
tally trend --months 6
The whole workflow: import, teach it your categories, set budgets, read the report.

Tools used

  • Python
  • Command line
  • pytest
  • GitHub Actions
  • AI coding assistant

Built with the help of an AI coding assistant, with design decisions, review and testing by me.

Have a project in mind?

Want something like this? Tell me about your project and I will reply by email.

Start a project