Skip to main content

🧪 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

Metadata

Release files for science-calc 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for science-calc 0.1.2
File Size Uploaded Provenance
science_calc-0.1.2.tar.gz 16.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for science-calc 0.1.2
File Interpreter ABI Platform
science_calc-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / science_calc-0.1.2.tar.gz

Download URL science_calc-0.1.2.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7837c5019504e86e140147a7de3ad1dac1da7e6c5e54eb2738e014c14c5c295c
BLAKE2b-256 checksum
How to use checksums
dfc8a7b651927670428dd8b9cd684df558962c6e4fd6324301d4856b76a90c5a
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / science_calc-0.1.2-py3-none-any.whl

Download URL science_calc-0.1.2-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1ce857801d38967ccdc7663f09618028ed55a93edb1fd95e812b1c43ee7fd3b
BLAKE2b-256 checksum
How to use checksums
31adea330f72b9b55c087bc5f159b0d70b174add4d16e73820424ef66bf1b44d
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for science-calc 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page