A calculator written in python
This is a python package hosted on PYPI and can be used to perform basic functions on calculator such as;
It is an open source project with a public repository at https://github.com/linda-oranya/pypi_calculator.
pypi_calculator requires python3 and can be installed via PYPI
$ pip install ecalculator-pkg-linda-oranya
$ pip install git+https://github.com/linda-oranya/pypi_calculator.git
The calculator can be used for basic mathematical computation. The calculator has a memory that can reset itself to 0 and also stores previous values, except the memory is reset
from calculator import Calculator
cal = Calculator()
because the memory was not reset, 2 was subtracted from previous value 10
Division For divide, zero division returns None and description
number cannot be zero => float division by zero None
You can contribute to this project by cloning this repo and pushing to a branch for review and merging.
pypi_calculator is very easy to install and deploy in a Docker container.
By default, the Docker will expose port 8080, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.
It is a Free Software
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for ecalculator_pkg_linda_oranya-0.0.4-py3-none-any.whl