Skip to main content

Calculator

Simple calculator with basic mathematics operations and its own memory.

Installation

Use the package manager pip to install calculator.

pip install calculator

Usage

from calculator import Calculator

#first create an instance of Calculator
x = Calculator()

x.add(1,3) # returns 4 (sum of 1 and 3) and saves it to memory
x.sub(1) # returns 3 (subtracts 1 from "memory")

License

MIT

Metadata

Release files for calculator-anarim1 0.0.1

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

Source distribution (sdist)

Source distribution for calculator-anarim1 0.0.1
File Size Uploaded Provenance Actions
calculator-anarim1-0.0.1.tar.gz 59.4 kB Without provenance Details for calculator-anarim1-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calculator-anarim1 0.0.1
File Interpreter ABI Platform Actions
calculator_anarim1-0.0.1-py3-none-any.whl Python 3 none any Details for calculator_anarim1-0.0.1-py3-none-any.whl

Total release size: 62.6 kB

Release files / calculator-anarim1-0.0.1.tar.gz

Download URL calculator-anarim1-0.0.1.tar.gz
Size 59.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5aa306474e0608f984ea819dea8f0b7a9f37f65e48fc5afa32bfa205ba6a0eb2
BLAKE2b-256 checksum
How to use checksums
5ad8761513660e6e5caf3ec0ad27045fc2a4a7704419b575bea456287f7b7bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / calculator_anarim1-0.0.1-py3-none-any.whl

Download URL calculator_anarim1-0.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc7ee5921b46978b28d2b97d232ea250d7995e0b95599ff515157ccfeaa0269a
BLAKE2b-256 checksum
How to use checksums
79874197da7ffed9eb46d6cb476ae25e93c2259518328b2f36641de6ce09029a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for calculator-anarim1 0.0.1

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.0.1 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