An open API service indexing awesome lists of open source software.

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

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
![Screenshot 2025-04-21 113244](https://github.com/user-attachments/assets/7d9d38c0-c094-42c7-88b7-b87c99a87390)

---

## 🛠️ 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 ❤️