Skip to main content

Sagar's Calculator

A fully functional calculator by Sagar kandel with history tracking.

Installation

pip install sagar-the-calculator

Python Usage

from sagar_the_calculator import Calculator

calc = Calculator() print(calc.add(5, 3)) # 8 print(calc.subtract(10, 4)) # 6 print(calc.multiply(3, 7)) # 21 print(calc.divide(20, 4)) # 5.0 print(calc.power(2, 8)) # 256p print(calc.square_root(81)) # 9.0 print(calc.percentage(200, 15)) # 30.0 print(calc.absolute(-42)) # 42 calc.print_history() # shows all past operations

Command Line

sagar_calc

Metadata

Release files for sagar-the-calculator 1.0.3

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

Source distribution (sdist)

Source distribution for sagar-the-calculator 1.0.3
File Size Uploaded Provenance Actions
sagar_the_calculator-1.0.3.tar.gz 3.4 kB Without provenance Details for sagar_the_calculator-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sagar-the-calculator 1.0.3
File Interpreter ABI Platform Actions
sagar_the_calculator-1.0.3-py3-none-any.whl Python 3 none any Details for sagar_the_calculator-1.0.3-py3-none-any.whl

Total release size: 7.4 kB

Release files / sagar_the_calculator-1.0.3.tar.gz

Download URL sagar_the_calculator-1.0.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4346b537a9ad78edb6d22a616428e7a35407a8e68894d18a75fad9e0ea12dd60
BLAKE2b-256 checksum
How to use checksums
bb8c522b71fb46384cf95b69ceb5019fc2691bbca8a14bf16192e39e088a92d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / sagar_the_calculator-1.0.3-py3-none-any.whl

Download URL sagar_the_calculator-1.0.3-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aaf651a5be004896f92df6deec305c7639475aa8464a38cc44746b475097903
BLAKE2b-256 checksum
How to use checksums
3707110779dafacc76442e93a23c57c64f9591a4aba6b5e4e0e556e9b9505d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for sagar-the-calculator 1.0.3

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