This project provides a credit card calculator that allows users to perform various financial calculations related to credit card balances, payments, and interest rates. It includes a GUI for ease of use and comes with unit tests to ensure accuracy.
calculator.py
: Core logic for financial calculations.gui.py
: Graphical user interface built withtkinter
.main.py
: Main script to run the application.test_calculator.py
: Unit tests for theCreditCardCalculator
class.
- Clone the repository and navigate to the project directory:
git clone https://github.com/digitalvortex/credit_card_calculator.git cd credit_card_calculator
- Create a virtual environment:
python3 -m venv .
- Activate the virtual environment:
source bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python3 main.py
Runs on Linux fine, had issues running on MacBook.