Spaces:
Sleeping
Sleeping
title: Amortization Report | |
emoji: π | |
colorFrom: pink | |
colorTo: purple | |
sdk: gradio | |
app_file: app.py | |
pinned: false | |
license: mit | |
sdk_version: 5.29.1 | |
# π Amortization Report | |
This interactive app helps you generate a full amortization schedule for any loan. Simply enter your loan amount, interest rate, and loan period, and you'll get: | |
- A detailed amortization table | |
- A breakdown of interest and principal paid per year | |
- A line chart showing remaining balance over time | |
Built with Python, Gradio, NumPy Financial, Pandas, and Matplotlib β and hosted on Hugging Face Spaces. | |
--- | |
## π’ How It Works | |
**Input Parameters:** | |
- **Loan Amount (Principal)** β Total amount borrowed | |
- **Annual Interest Rate (%)** β Input as a percentage (e.g., type `5` for 5%) | |
- **Number of Periods (Years)** β Duration of the loan in years | |
**Output:** | |
- π **Amortization Table** showing payment, interest, principal, and balance per year | |
- π **Payment Breakdown Plot** comparing interest and principal over time | |
- π **Remaining Balance Chart** showing how your debt is paid off | |
--- | |
## π§ͺ Example | |
Try entering the following: | |
- Loan Amount (Principal): 100000 | |
- Annual Interest Rate (%): 5.00 | |
- Number of Periods (Years): 10 | |
Youβll see how the loan amortizes β how much you pay in interest and principal each year, and how the balance decreases over time. | |
--- | |
## π¦ Installation | |
Clone the repo and install the required packages: | |
```bash | |
git clone https://huggingface.co/spaces/ali-denewade/amortization-report | |
cd amortization-report | |
pip install -r requirements.txt |