Skip to main content

Powerful terminal expense tracker.

Project description

Bagels - TUI Expense Tracker

Powerful expense tracker that lives in your terminal.

Bagels

Bagels expense tracker is a TUI application where you can track and analyse your money flow, with convenience oriented features and a complete interface.

Why an expense tracker in the terminal? I found it easier to build a habit and keep an accurate track of my expenses if I do it at the end of the day, instead of on the go. So why not in the terminal where it's fast, and I can keep all my data locally?

Features

Some notable features include:

  • Accounts, (Sub)Categories, Splits, Transfers, Records
  • Templates for Recurring Transactions
  • Add Templated Record with Number Keys
  • Clear Table Layout with Togglable Splits
  • Transfer to and from Outside Tracked Accounts
  • "Jump Mode" Navigation
  • Less and Less Fields to Enter per Transaction, Powered by Transactions and Input Modes
  • Insights
  • Customizable Keybindings and Defaults, such as First Day of Week

Installation

MacOS:

# install uv (package manager):
curl -LsSf https://astral.sh/uv/install.sh | sh

# restart your terminal, or run the following command:
source $HOME/.local/bin/env # or follow instructions

# install bagels through uv
uv tool install --python 3.13 bagels

Windows:

# install uv:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# then follow instructions to add uv to path
uv tool install --python 3.13 bagels

Usage:

bagels # start bagels
bagels --at "./" # start bagels with data stored at cd
bagels locate database # find database file path
bagels locate config # find config file path

It is recommended, but not required, to use "modern" terminals to run the app. MacOS users are recommended to use iTerm2, and Windows users are recommended to use Windows Terminal.

To upgrade:

uv tool upgrade bagels

Development setup

git clone https://github.com/EnhancedJax/Bagels.git
cd Bagels
uv sync
mkdir instance
uv run bagels --at "./instance/" # runs app with storage in ./instance/
# alternatively, use textual dev mode to catch prints
uv run textual run --dev "./src/bagels/textualrun.py"
uv run textual console -x SYSTEM -x EVENT -x DEBUG -x INFO # for logging

Please use the black formatter to format the code.

Roadmap

  • More insight displays and analysis (by nature etc.)
  • "Processing" bool on records for transactions in process
  • Record flags for future insights implementation
  • Repayment reminders
  • Code review
  • Daily check-ins
  • Budgets
  • Add tests
  • Bank sync

Attributions

  • Heavily inspired by posting
  • Bagels is built with textual
  • It's called bagels because I like bagels

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

bagels-0.2.7.tar.gz (3.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bagels-0.2.7-py3-none-any.whl (131.8 kB view details)

Uploaded Python 3

File details

Details for the file bagels-0.2.7.tar.gz.

File metadata

  • Download URL: bagels-0.2.7.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for bagels-0.2.7.tar.gz
Algorithm Hash digest
SHA256 4c1c490c4eabdda589d64ab73a3478489e0f1f0afcc6569eb096f5dacd305e90
MD5 bdaad5a4d7543ee35dbc42fae91a6739
BLAKE2b-256 bc1af3738ae022606c9fac1353f69451c635b9e94f85d50111f40e56e7913573

See more details on using hashes here.

File details

Details for the file bagels-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: bagels-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 131.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for bagels-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 daa3ccd8d1189e498d4fbe76c9dce35f8c592e4b0fd5c9e83b0e5f32170271d1
MD5 7cd73884570a6031cd7f5b9d69a4f978
BLAKE2b-256 017740cbdfaa9f40914cc58f16a098fd0210ae404f6f27c6ba880b25d0b20bad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page