Most Recent Project:
The Tip Calculator App is a simple and interactive tool built with Python and Streamlit. It allows users to input a bill amount, choose a tip percentage, and split the total among multiple people. The app calculates the per-person cost instantly and displays it in a clean, user-friendly interface.
My Repo:
Launch the App:
The Tip Calculator Web App demonstrates:
Interactive UI Development: A user-friendly interface created with Streamlit.
Web App Hosting: Easily deployed and hosted on Streamlit Community Cloud.
Dynamic Input Handling: Real-time bill, tip, and split calculations using Python.
Cloud-Ready Structure: Clean file organization suitable for GitHub and deployment.
Customizable Tip Selection: Choose any tip percentage with a slider.
Bill Splitting: Divide the total bill between any number of people.
Real-Time Calculation: See the final per-person amount instantly.
Modern UI: Streamlit ensures responsive and visually clean layout.
Rounding Precision: Final amount is neatly rounded to two decimal places.
Language: Python 3.x
Framework: Streamlit
Deployment: Streamlit Community Cloud
streamlit: For building and hosting the interactive web app.
tip-calculator-streamlit/
├── app.py
├── requirements.txt
├── README.md
├── .gitignore
Step 1: Clone the Repository
bash
git clone https://github.com/ldw16/tip-calculator-streamlit.git
cd tip-calculator-streamlit
Step 2: (Optional) Create a Virtual Environment
bash
python3 -m venv env
source env/bin/activate # For Unix/Linux
Step 3: Install Dependencies
bash
pip install -r requirements.txt
Step 4: Run the App Locally
bash
streamlit run app.py
Streamlit Not Found: Run pip install streamlit.
App File Not Detected: Ensure app.py is in the root or specified correctly during deployment.
Outdated Python Version: Ensure you are using Python 3.7 or above.
Python Scripting: Implement user input handling and calculations.
Web App Development: Build lightweight web apps with Streamlit.
Deployment & Hosting: Deploy Python apps without managing infrastructure.
Contact button below.