Skip to main content

Samir's Calculator

A fully functional calculator by Samir Neupane with history tracking.

Installation

pip install samir-the-calculator-np

Python Usage

from samir_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

samir_calc

Metadata

Release files for samir-the-calculator-np 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 samir-the-calculator-np 1.0.3
File Size Uploaded Provenance Actions
samir_the_calculator_np-1.0.3.tar.gz 3.3 kB Without provenance Details for samir_the_calculator_np-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / samir_the_calculator_np-1.0.3.tar.gz

Download URL samir_the_calculator_np-1.0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
89724f4c521f8a64d655928d7f833f4f8be4b999094185885f90f7fe56952719
BLAKE2b-256 checksum
How to use checksums
ef0f402cf023c1ecaae95a9c802d012ad5505293528057d56b3866b7b04a4c44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

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

Download URL samir_the_calculator_np-1.0.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41d686ffbd4a3b01703059401a1556b0557dbf9e26db0994546d49f7fc41a3ee
BLAKE2b-256 checksum
How to use checksums
1a00cf44be2af9c0b81c2f3207f93c41b5f9b4509beed1b91eb4609cd399f0c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for samir-the-calculator-np 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