Ekpenisi-0.1.0
توضیحات
semantics ibrary
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Ekpenisi-0.1.0 |
| نام | Ekpenisi |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ekpenisi Christabell |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/Ekpenisi/ |
| مجوز | MIT |
Semantic library:
used to extract numbers,convert units and solve equations from text. Three modules are used for the library; number,units and solver modules
number module:
used to extract numbers from text. its white space and comma sensitive
'''
example :
from semantics import Number
result = 'three hundred and fifty'
b = Number()
b.converts(result)
it prints 350 to the terminal
'''
solve module:
used to extract equations and solve them from text. all number should be written in text and not digits
'''
example:
from semantics import Solver
result = 'three hundred and fifty minus two'
b = Solver()
b.solve(result)
# it prints 348 to the terminal
'''
look more at the documention in the code to see more operations to perform
unit module:
used to convert between units. its syntax is : convert {magnitude} {unit} to {unit}
it contains different units of three quantities; area,length,time
#look into the code to see the various units
'''
example:
from semantics import Units
b = Units()
result= 'convert twelve cm to m'
b.convert(unit)
this prints 0.12m in the terminal
'''
نحوه نصب
نصب پکیج whl Ekpenisi-0.1.0:
pip install Ekpenisi-0.1.0.whl
نصب پکیج tar.gz Ekpenisi-0.1.0:
pip install Ekpenisi-0.1.0.tar.gz