A sleek and user-friendly calculator desktop application built with PyQt5. This project showcases a modern UI design, custom error handling, and simple math features like square root 🧮 and sign toggling ➕➖.
- 🎨 Beautiful UI: Dark theme, rounded buttons, and color-coded operations for ease of use
⚠️ Robust Error Handling: Informative popups guide you through invalid inputs- 🧩 Modular Code: Clean separation of UI, logic, and error handling for simple extensions
- 🔒 Safe Calculations: Expression evaluation with preprocessing for square roots and secure
evalusage
- Clone this repository:
git clone https://github.com/DShaKi/basic-calculator.git cd basic-calculator
- Install dependencies from
requirements.txt(Python 3.7+ required):
pip install -r requirements.txt
- Run the app:
python main.py
main.py— Main UI and application bootstraplogic/— Core calculator logic and expression processingui/— PyQt5 layout, widgets, and stylingasssets/— Images, icons, and screenshotsrequirements.txt— Project dependencies
Contributions warmly welcome! 💖 Please open an issue to report bugs or suggest features. Pull requests are encouraged! ✨
Apache 2.0 License © 2025 — see the LICENSE file for details.
Need help or want to share feedback? Reach out via GitHub Issues or email: shayan.ker85@gmail.com 📧
