Easy-to-use Python Library for Amortization Schedule and Refinance
Project description
amortize
Easy-to-use Python Library for Amortization Schedule and Refinance
Inspiration
The bank with the lowest rate is not always the best choice. APR is important because the interest rate that gets quoted by the lender, isn't always the interest rate that you will pay. The APR includes interest rate and fees charged by the lender, and lets you compare mortgage offers. APR, reflects the true cost of borrowing. However, the borrower will see this figure after the approval and signing of the contract!
If you want something that is straight to the point, this python library can be a good reference.
- You can estimate the mortgage amount that works with your budget.
- See true cost of borrowing.
- If you wish, you can see a payment breakdown for every single month of the loan duration.
- It allows the side-by-side comparison of the existing or refinanced loan.
- The break-even point shows how long it'll take for the savings to outweigh the cost.
- You can export amortization schedule to excel.
- It doesn’t show you graphs, pie charts, or amortization charts!
Installation
Install with pip
or your favorite PyPi package manager.
pip install amortize
Dependencies
- numpy-financial = 1.0.0
- tabulate = 0.8.7
- pandas = "1.2.1
Usage
Mortgage(
loan amount,
annual interest rate,
loan period in months,
fees)
from amortize.calc import Mortgage
m=Mortgage(300000,6,12,0)
>> m.afford() : Determine how much house you can afford
>> m.summary() : Repayment summary
>> m.table() : Amortization table
>> m.refinance() : Refinance
>> m.excel() : Send amortization table to excel
CLI
usage: amortize [-h] -a AMOUNT -i INTEREST -m MONTHS -f FEES [-s] [-t] [-r] [-c] [-e]
Easy-to-use Python Library for Amortization Schedule and Refinance
optional arguments:
-h, --help show this help message and exit
-s, --summary Repayment summary
-t, --table Amortization table
-r, --refinance Refinance
-c, --afcalc Affordability calculator
-e, --excel Export to excel
required arguments:
-a AMOUNT, --amount AMOUNT Loan amount
-i INTEREST, --interest INTEREST Annual interest rate
-m MONTHS, --months MONTHS Loan period in months
-f FEES, --fees FEES Extra payments
Screenshots
Repayment Summary:
amortize -a300000 -i6 -m12 -f6000 -s
Amortization Table:
amortize -a300000 -i6 -m12 -f0 -t
Refinance:
amortize -a300000 -i6 -m12 -f9000 -r
Affordability:
amortize -a0 -i2.61 -m360 -f0 -c
Thank You
Thanks for checking out the package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file amortize-0.0.9.tar.gz
.
File metadata
- Download URL: amortize-0.0.9.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a28b063ec20b466cbe28887757a63ad2c8bab15258ede2049afb464fc7e12e |
|
MD5 | f0ad5bb342861247cc4771a717559568 |
|
BLAKE2b-256 | 559291d3846555e52bcabb62869a3a74707ab0c0c3ef8ff07e8c20bf6df9892d |
File details
Details for the file amortize-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: amortize-0.0.9-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51af8ab0805a1e0ed8f216af42d711c04ed346bfd0113ecda85ea89953e53723 |
|
MD5 | 3f3e352922aca0bae00a53fcd5104c99 |
|
BLAKE2b-256 | ed672fd3b217d00c48d0e85df947f184fc259a89998b5b5ec0d5e4450696e745 |