CH
chanchiwai-ray/mortgage-calculator
Mortgage calculator provides a simple command line program to show the various costs of buying a house
Mortgage Calculator
Mortgage calculator provides a simple command line program to show the various
costs of buying a house. The formula used are based on the Wikipedia
Installation
You can install the tool locally via pip:
pip install .Or if you prefer installing it inside a virtual environment:
# Create virtual environment
python3 -m venv venv
# Source the virtual environment, and install the tool under the venv
source venv/bin/active
pip install .Usage
To calculate the mortgage summary, you can run
mortgage-calculator summary -v 5000000To calculate the repayment for each month up to 3 years, you can run
mortgage-calculator breakdown -v 5000000 -y 3For more information, you can run
mortgage-calculator -h
mortgage-calculator summary -h
mortgage-calculator breakdown -h