Skip to main content

Calculator v0.1

img_1.png

A simple desktop calculator built with Python and PyQt5.
This project was developed for learning purposes and demonstrates the integration of GUI design with functional backend logic.


Features

  • Basic arithmetic operations: addition, subtraction, multiplication, division
  • Percentage calculation
  • Square root
  • Change number sign (+/-)
  • Exponentiation
  • Calculation history:
    • View past operations
    • Clear history
  • Customizable UI:
    • .ui files created in Qt Designer
    • Styled with .qss (Qt Style Sheets)

Project Structure

img_3.png

Installation

You can run the calculator locally or install it as a package.

1. Clone the repository

git clone https://github.com/<your-username>/calculator.git
cd calculator

2. Create a virtual environment

python -m venv venv
venv\Scripts\activate 

3. Install dependencies

pip install -r requirements.txt

4.Run locally

python -m calculator.main

Installing via pip install

pip install pyqt5‑calculator0.1

Metadata

Release files for pyqt5-calculator0.1 0.1.0

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

Source distribution (sdist)

Source distribution for pyqt5-calculator0.1 0.1.0
File Size Uploaded Provenance Actions
pyqt5_calculator0_1-0.1.0.tar.gz 8.7 kB Without provenance Details for pyqt5_calculator0_1-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyqt5-calculator0.1 0.1.0
File Interpreter ABI Platform Actions
pyqt5_calculator0_1-0.1.0-py3-none-any.whl Python 3 none any Details for pyqt5_calculator0_1-0.1.0-py3-none-any.whl

Total release size: 18.3 kB

Release files / pyqt5_calculator0_1-0.1.0.tar.gz

Download URL pyqt5_calculator0_1-0.1.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a1381dd511872a6478a3fbd19c8ee2ace71adee723cff90bc9c323dcb52972ee
BLAKE2b-256 checksum
How to use checksums
acb97b2d5e9c475947e5bb2f00266f819eb9908d57cf0f0a0e3fd40765e5bc04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / pyqt5_calculator0_1-0.1.0-py3-none-any.whl

Download URL pyqt5_calculator0_1-0.1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de2c07350f8be40cc15fb6a7adae976e5a05e0b2896d5e40e364526372b7fd0e
BLAKE2b-256 checksum
How to use checksums
c4a130b1233ba400141f1af6489b1fa3a970aa15f5d02b56f3e575039e75b3d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for pyqt5-calculator0.1 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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