https://github.com/djotaku/amortization
Amortization Program for creating a table of payments
https://github.com/djotaku/amortization
amortization csv hacktoberfest
Last synced: 5 months ago
JSON representation
Amortization Program for creating a table of payments
- Host: GitHub
- URL: https://github.com/djotaku/amortization
- Owner: djotaku
- License: gpl-3.0
- Created: 2019-09-16T23:19:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T15:11:26.000Z (almost 2 years ago)
- Last Synced: 2025-07-19T03:54:38.338Z (8 months ago)
- Topics: amortization, csv, hacktoberfest
- Language: Python
- Homepage:
- Size: 344 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Amortization
[](https://github.com/djotaku/amortization/actions)
[](https://github.com/djotaku/amortization/actions) <- should be a badge for a pull-request action
An amortization Program for creating a table of payments
This is an amortization table for home mortgages, but it should work for anything else that follows that type of math - say a car loan.
## Commandline
Usage:
python amortization.py -csv|screen -P # -i # -n #
example with principle of $270,000, 4.44% interest, for 30 years:
python amortization.py -csv -P 270000 -i .0444 -n 360
-csv: create a Comma Separated Values file to import into excel
-screen: print the amortization table to screen
-P: for # enter principal amount
-i: for # enter interest as a decimal
-n: for # enter number of months
If you want to see the effect of extra monthly payments, create a file called extraprincipal and put the values in one after another one line at a time.
Ex:
0
200
300
0
would be 0 extra principal the first month, 200 extra the second month, etc
## GUI
Runs on QT. Install those libraries via pip (especially if you run on Windows) or your package manager (on Linux).
Run amortization-gui.py
After entering data into the fields, hit calculate. It will print the data into the field below in a spreadsheet-like view. It will also create a CSV file called amort.csv. You can import this into any program that can take in CSV files. If you import it into a spreadsheet program you can then create a PDF (or anything else you'd do with a spreadsheet.