Skip to main content

Sujata's Calculator

A fully functional calculator by sujata timalsina with history tracking.

Installation

pip install sujata-the-calculator

Python Usage

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

sujata_calc

Metadata

Release files for sujata-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 sujata-the-calculator 1.0.3
File Size Uploaded Provenance Actions
sujata_the_calculator-1.0.3.tar.gz 3.4 kB Without provenance Details for sujata_the_calculator-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 7.5 kB

Release files / sujata_the_calculator-1.0.3.tar.gz

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

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

Download URL sujata_the_calculator-1.0.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e1f730b0f314e2d3abe411fca2782384ae08c8f5aef8b7c875c77ca1301b696
BLAKE2b-256 checksum
How to use checksums
ea9e7eb8378cb8becb1b04a7b5f2c9513c633587be44dc223dba292861c1b61f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for sujata-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.

Release history Release notifications | RSS feed

This release

1.0.3 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