A personal budget tracker CLI
Project description
💰 Budget Tracker CLI
A command-line personal finance tracker built with Python and argparse, managed with uv.
Setup
1. Install uv
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
2. Install the project
git clone https://github.com/mannyyebz/budget-tracker.git
cd budget-tracker
uv pip install -e .
Usage
Run any command with uv run budget <subcommand>.
Add a transaction
uv run budget add --amount 45.50 --category food --desc "Lunch at cafe" --type expense
uv run budget add --amount 3000 --category salary --desc "Monthly salary" --type income
uv run budget add --amount 85.20 --category food --desc "Groceries" --type expense --date 2026-04-10
List transactions
uv run budget list
uv run budget list --month 2026-04
uv run budget list --category food
uv run budget list --type expense
View summary report
uv run budget summary
uv run budget summary --month 2026-04
Set a budget limit
uv run budget set-limit --category food --limit 300
uv run budget set-limit --category rent --limit 1500
Export to CSV
uv run budget export --output report.csv
uv run budget export --month 2026-04 --output april.csv
View expense pie chart (Bonus)
uv run budget chart
uv run budget chart --month 2026-05
Project Structure
budget_tracker/ ├── pyproject.toml ├── src/ │ └── budget_tracker/ │ ├── main.py │ ├── storage.py │ └── commands/ │ ├── add.py │ ├── list_transactions.py │ ├── summary.py │ ├── export.py │ ├── set_limit.py │ └── chart.py └── data/ └── transactions.json
Data Storage
All data is persisted in data/transactions.json, auto-created on first run.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file budget_tracker_mannyyebz-0.1.0.tar.gz.
File metadata
- Download URL: budget_tracker_mannyyebz-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ada084925bd61cdf69d7f3ef2a850a96cf5b552b2ac1369b91cdeab15f476d8
|
|
| MD5 |
1c33653892faa1554a0a058806cc5be3
|
|
| BLAKE2b-256 |
93bd43dfa76dc3a6118e35e435cf9e0e043448e640b5a2db1d0f69eb4f4908f2
|
File details
Details for the file budget_tracker_mannyyebz-0.1.0-py3-none-any.whl.
File metadata
- Download URL: budget_tracker_mannyyebz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19f856982abe1f592ef8732017989c40cd196b5447a7b720b16017f8b93f0a72
|
|
| MD5 |
0cc35c2a5012cdef81ca37a0b7e1f885
|
|
| BLAKE2b-256 |
ee8eccede117a83684882d28b72324b135dcf327f2c11f00ca48ecb68ab89e19
|