Skip to main content

Calcy is a basic calculator library that allows to add, subtract, multipy and divide MULTIPLE numbers all at once.

Installation

Use the package manager pip to install calcy

pip install calcy

Usage

import calcy
calcy.help()

Calling calcy will list out all the details of the library.

Following are the available functionalities with this library

1. add_numbers(*args)        - takes variable agruments and adds them.
2. subtract_numbers(*args)   - takes variable agruments and subtracts them.
3. multiply_numbers(*args)   - takes variable agruments and multiplies them.
4. divide_numbers(*args)     - takes variable agruments and divides them.

In all the above functions, if argument size = 0, function returns float('-inf')

Sample Code

import calcy

x = calcy.add_numbers(2,4,5,10,7)
print(x)

Version History

0.0.1

  • First Release

0.0.2

  • Add help function
  • Change return type on passing invalid arguments

0.0.3

  • Update README.txt

0.0.4

  • Improve README.txt

0.0.5

  • fix pip hyperlink

0.0.6

  • change version history style

Metadata

Release files for calcy 0.0.6

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

Source distribution (sdist)

Source distribution for calcy 0.0.6
File Size Uploaded Provenance Actions
calcy-0.0.6.tar.gz 3.0 kB Without provenance Details for calcy-0.0.6.tar.gz

Release files / calcy-0.0.6.tar.gz

Download URL calcy-0.0.6.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dafec01d71ede3d8ef266bfafdcbb0ea7854419d372866fa32f5244d781ccdc9
BLAKE2b-256 checksum
How to use checksums
2786ac26f79cd5b0ebab71b0ef7d93c2e6aac81ecfbc3bd2b5bfddc1b987bac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Security for calcy 0.0.6

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