https://github.com/muhammadfahd/basic_calculator
a simple calculator in python using streamlit as UI
https://github.com/muhammadfahd/basic_calculator
huggingface-spaces python streamlit
Last synced: about 2 months ago
JSON representation
a simple calculator in python using streamlit as UI
- Host: GitHub
- URL: https://github.com/muhammadfahd/basic_calculator
- Owner: muhammadfahd
- Created: 2025-05-01T08:07:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-01T08:14:12.000Z (about 1 year ago)
- Last Synced: 2025-05-07T18:13:16.792Z (about 1 year ago)
- Topics: huggingface-spaces, python, streamlit
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🧮 My Calculator App
An interactive and user-friendly calculator built using Streamlit. This calculator supports basic arithmetic operations and includes a beautiful UI, real-time result display, and a calculation history log.
---
## 🚀 Features
- ✅ Simple, intuitive user interface
- ➕ Addition, ➖ Subtraction, ✖️ Multiplication, ➗ Division
- ⚠️ Division by zero error handling
- 💾 Real-time calculation history
- 🎨 Custom styled result display
- 📱 Mobile-friendly and responsive layout
---
## 📷 Preview

---
## 🛠️ Installation
### 1. Clone the repository
### 2. Install dependencies
`pip install -r requirements.txt `
### 3.Run the app
`streamlit run app.py`
Future Improvements
- 🧮 Scientific calculator mode
- 🎛️ Theme toggle (light/dark)
- ⌨️ Keyboard input support
- 💾 Memory functions (M+, M-, MR, MC)
---
Made with ❤️