Skip to main content

A basic calculator

Project description

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


Use the package manager pip to install calcy

pip install calcy


import calcy

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)

Version History


  • First Release


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


  • Update README.txt


  • Improve README.txt


  • fix pip hyperlink


  • change version history style

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calcy-0.0.6.tar.gz (3.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page