Metadata-Version: 2.1
Name: powerful-calculator
Version: 0.1.3
Summary: Calculator for basic operation
Home-page: https://github.com/anytokin/calculator
License: MIT
Author: Dawid Konard Kohnke
Author-email: dawid.kohnke.cad@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/anytokin/calculator
Description-Content-Type: text/markdown

## Installation

```sh
pip install numpy
pip install powerfull-calculator
```

## Usage

With use of this tool you can:

-  add numbers - via add() metod
-  subtract numbers - via subtract() metod
-  multiply numbers - via multiply() metod
-  divide numbers - via divide() metod
-  root numbers - root add() metod
## Before start using

There is always number in memory of calculator.
Operations are perfomed on this number.
You can get it via get_state() method.

```python
>>> calc = Calculator()
>>> calc.add(0.1)
0.1
>>> calc.add(0.2)
0.3
>>> calc.subtract(10.3)
-10.0
>>> calc.divide(3)
-3.333333333333
>>> calc.multiply(3)
-10.0
>>> calc.root(1/3)
-1000.0
>>> calc.reset()
0.0
>>> calc.get_state()
0.0
```


## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Make sure to add or update tests as appropriate.


## License

[MIT](https://choosealicense.com/licenses/mit/)

