cunitpy-0.0.4
توضیحات
A universal converter package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cunitpy-0.0.4 |
| نام | cunitpy |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | ['Kennedy Souza'] |
| ایمیل نگهدارنده | ['kennedo160@gmail.com'] |
| نویسنده | Lázaro Claubert |
| ایمیل نویسنده | lazimrclaubert@gmail.com |
| آدرس صفحه اصلی | https://github.com/LazimR/CunitPy |
| آدرس اینترنتی | https://pypi.org/project/cunitpy/ |
| مجوز | - |
# CunitPy
#### This is a universal conversor. It has methods to convert measurment units and world's most popular currency.
#
## Installation
```
pip install cunitpy
```
#
## How to use
```
from cunitpy import *
```
#### Now, use the pattern bellow to asign a variable the converted value:
##### *Quantity.your_measurement_unit2new_measurement_unit(value)*
### Examples:
```py
# 38° Celsius to Kelvin
tempKel = Temperature.celsius2kelvin(38)
```
```py
# 250 pounds to kilograms
kg = Mass.pound2kilogram(250)
```
```py
# 2000 Japanese Ienes to Dollars
dol = Currency.JPY2USD(2000)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl cunitpy-0.0.4:
pip install cunitpy-0.0.4.whl
نصب پکیج tar.gz cunitpy-0.0.4:
pip install cunitpy-0.0.4.tar.gz