A sleek, powerful Scientific Calculator with a modern TUI.
Project description
🧪 ScienceCalc
A sleek, powerful, and fully responsive Scientific Calculator built with Python and Textual. Designed for the terminal, featuring a modern glassmorphism-inspired aesthetic and a robust calculation engine.
✨ Features
- 📱 Full-Screen UI: A responsive layout that adapts to any terminal size.
- 🎨 Modern Aesthetics: Sleek dark mode palette (
#0f172a,#1e293b) with vibrant highlights (#38bdf8). - 🔢 Scientific Functions:
- Trigonometry:
sin,cos,tan - Logarithms:
log(base 10),ln(natural log) - Constants:
π(pi),e - Algebra: Square root (
√), Powers (^), Percentages (%)
- Trigonometry:
- ⌨️ Keyboard Optimized:
Enterto calculateCtrl + Dto clearCtrl + Cto quit
- 🧠 Smart Engine: Built-in error handling and precision rounding.
🚀 Getting Started
Prerequisites
- Python 3.8+
- Textual library
Installation
-
Clone the repository:
git clone https://github.com/Mahir29Flame/Science-Calc.git cd Science-Calc
-
Install dependencies:
pip install textual
Running the App
Execute the main script:
python main.py
For development mode (with live reload):
textual run --dev main.py
🛠️ Built With
- Textual - The TUI (Terminal User Interface) framework.
- Python Math - Powering the calculation engine.
📜 License
Distributed under the MIT License. See LICENSE for more information.
Created with ❤️ by Mahir29Flame
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file science_calc-0.1.1.tar.gz.
File metadata
- Download URL: science_calc-0.1.1.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f19c0f4499c6f5b0eddbd8a9abc9887bc54bf6f6dfd3419a37868a78c3c60107
|
|
| MD5 |
f770bdabf18ba2303c28b254c3dca735
|
|
| BLAKE2b-256 |
def44f298ff4b5120bd7407dcc91e88ab36782fc04a4fff64a80ca966213c475
|
File details
Details for the file science_calc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: science_calc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c10303314bde7cceed9522a1829fd88a4229a4bc37d0f57e88c362574a39651a
|
|
| MD5 |
b5d1f4351754e07436a6eadaf38ff26d
|
|
| BLAKE2b-256 |
61d522ecdeef3f9302d5ae4d84d87f20ff8ac92eee040d56c3478705e4c7897c
|