Skip to main content

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.

ScienceCalc Preview

✨ 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 (%)
  • ⌨️ Keyboard Optimized:
    • Enter to calculate
    • Ctrl + D to clear
    • Ctrl + C to quit
  • 🧠 Smart Engine: Built-in error handling and precision rounding.

🚀 Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Mahir29Flame/Science-Calc.git
    cd Science-Calc
    
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

science_calc-0.1.2.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

science_calc-0.1.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file science_calc-0.1.2.tar.gz.

File metadata

  • Download URL: science_calc-0.1.2.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

Hashes for science_calc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7837c5019504e86e140147a7de3ad1dac1da7e6c5e54eb2738e014c14c5c295c
MD5 519a44fc21623e2abab37bebe9aceebc
BLAKE2b-256 dfc8a7b651927670428dd8b9cd684df558962c6e4fd6324301d4856b76a90c5a

See more details on using hashes here.

File details

Details for the file science_calc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: science_calc-0.1.2-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

Hashes for science_calc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1ce857801d38967ccdc7663f09618028ed55a93edb1fd95e812b1c43ee7fd3b
MD5 e397248cd0aeaac9b5d9099878275a83
BLAKE2b-256 31adea330f72b9b55c087bc5f159b0d70b174add4d16e73820424ef66bf1b44d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page