Skip to main content

A desktop application for managing your personal "free time" bank.

Project description

Simple Timer Bank 🏦

Simple Timer Bank is a desktop application for managing your personal "free time." It helps you balance productive work with leisure activities like gaming 🎮, watching movies 🍿, or any other hobbies by treating your free time as a resource in a "bank."

SimpleTimerBank Screenshot

How It Works

  • Bank Your Time 💰: Deposit time you've set aside for leisure into your personal time bank.
  • Spend Your Time ⏳: When you're ready for a break, start a timer to begin "withdrawing" and consuming your banked time.
  • Overdraft Feature ⚠️: If your timer runs out but you're not ready to stop, the app automatically enters "overdraft mode." It will start drawing from your main bank balance, preventing abrupt interruptions while keeping track of the extra time used.
  • Automatic Refunds 🔄: If you end a session early, any unused time from the timer is automatically returned to your bank.

Features

  • Digital Clock Displays: Clear, easy-to-read displays for both your bank balance and the active timer.
  • Intuitive Transaction Controls:
    • Deposit, instantly withdraw, or set your bank balance to a specific value.
    • Use relative preset buttons (+15m, -30m, etc.) to quickly adjust the transaction amount.
  • Flexible Timer Controls: Start, pause, resume, and stop timer sessions with clear, expanding buttons.
  • Audio-Visual Alerts: Receive non-blocking system notifications with custom sounds for key events like overdraft activation and bank depletion.
  • Persistent State: Your time bank balance is automatically saved when you close the application and reloaded on startup.
  • Polished UI: A clean, visually organized interface with distinct sections for different actions.

Installation

The recommended way to install Simple Timer Bank is via pip or uv:

# Using pip
pip install simpletimerbank

# Or using uv
uv add simpletimerbank

Usage

Once installed, you can run the application from your terminal:

simpletimerbank

Development Setup

If you wish to contribute to the project, follow these steps to set up a development environment.

  1. Clone the Repository:

    git clone https://github.com/your-username/SimpleTimerBank.git
    cd SimpleTimerBank
    
  2. Set up a Virtual Environment and Install: This project uses uv for package management.

    # Create a virtual environment
    uv venv
    # Activate it (example for Windows PowerShell)
    .venv\Scripts\Activate.ps1
    # Install the project in editable mode with its dependencies
    uv pip install -e .
    
  3. Run the Application from Source:

    python -m src.simpletimerbank.main
    

Development Tasks

  • Run Tests: make test or uv run pytest
  • Build Documentation: make doc
  • Publish Documentation: make publish-docs

License

This project is licensed under the MIT License.

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

simpletimerbank-1.0.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

simpletimerbank-1.0.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file simpletimerbank-1.0.0.tar.gz.

File metadata

  • Download URL: simpletimerbank-1.0.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for simpletimerbank-1.0.0.tar.gz
Algorithm Hash digest
SHA256 31809bf59c622a482d524961ef878b186aba32f34317ea87806b9d6e31f29641
MD5 a2147374343a710604691cc9a0e74072
BLAKE2b-256 5ad49cf455e19187d196e2a8527434c23ab672df0f9754c1453e0bc6a0dadb0b

See more details on using hashes here.

File details

Details for the file simpletimerbank-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simpletimerbank-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2661a6d0b8a31a81a07c78571d19d9ad79d55dccff89f73cf2b00f2aef00e4b
MD5 1ae1c91c08719e8dfb3c10a46b097348
BLAKE2b-256 187ec8e8b19ae7c0b224e837c8c93fbc3ca9329ba1a2dc79ddf7bacc44ade316

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