calcy-0.0.6
توضیحات
A basic calculator
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Microsoft :: Windows :: Windows 10 |
| نام فایل | calcy-0.0.6 |
| نام | calcy |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Deepak Jha |
| ایمیل نویسنده | deepakjha18598@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/calcy/ |
| مجوز | MIT |
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](https://pip.pypa.io/en/stable/) to install calcy
```
pip install calcy
```
Usage
=====
```python
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
===========
```python
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
نحوه نصب
نصب پکیج whl calcy-0.0.6:
pip install calcy-0.0.6.whl
نصب پکیج tar.gz calcy-0.0.6:
pip install calcy-0.0.6.tar.gz