This repository demonstrates a simple web application built with Python and Streamlit to calculate compound interest over time. It allows users to input investment details and visualize the growth of their investment.
The web app offers a form to collect investment details like:
- Initial investment amount
- Regular investment amount (e.g., monthly contribution)
- Annual interest rate
- Target investment period (in years)
Based on the provided information, the app calculates the compound interest earned and displays the final investment value.
- Python 3.x
- Streamlit (
pip install streamlit
)
- Clone this repository.
- Install required dependencies:
pip install -r requirements.txt
- Run the app:
streamlit run app.py
This will launch the Streamlit app in your web browser.
- Navigate to https://share.streamlit.io/
- Connect with your github account
- Select New App from top left corner and choose Existing Repo
- Select the right github repository, the branch you want to deploy (default is master)
- Choose app.py as the entry point of your streamlit app
- Leave the url with default values and hit deploy.
In minutes, you have your application deployed and accessible from everyone. Anytime, you push a new change in github, your changes will be redeployed in few seconds.
This application is deployed at https://compound-interest-with.streamlit.app/
This project is licensed under the MIT License. See the LICENSE: LICENSE file for details.
Feel free to fork this repository and contribute your improvements!