Skip to main content

A calculator package which performs basic operations.

Project description

Instruction hot to use calculatorGS Module

calculatorGS is a state-of-the-art calculator module for Python. It lets you perform calculation tasks not only by adding or subtracting numbers, but also by using advanced techniques such as multiplication, division or even taking an nth root of the number.

e.g.

> from calculatorGS import Calculator

> calc = Calculator()
> calc.add(8)
> calc.divide(2)
> calc.root(2)
> calc.display()

Current calculator value: 2

Installation

Install calculatorGS module using pip: python -m pip install calculatorGS

Testing

Testing of the modules requires pytest and hypothesis. Tests can be run after installation with: pytest test_calculator.py

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

calculatorgs-0.2.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

calculatorgs-0.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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