compare-strings-lib-0.0.2
توضیحات
module for comparing to strings
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | compare-strings-lib-0.0.2 |
| نام | compare-strings-lib |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | qalfaki |
| ایمیل نویسنده | qusai.alfaki@gmail.com |
| آدرس صفحه اصلی | https://github.com/qalfaki/py-lib/tree/master/cs_lib |
| آدرس اینترنتی | https://pypi.org/project/compare-strings-lib/ |
| مجوز | - |
# Compare strings
* A python library for comparing 2 strings
- in the case of str1 = str2 returned value would be `1 `
- in the case of str1 > str2 returned value would be `0`
- in the case of str1 < str2 returned value would be `-1`
#### Installation:
> `pip3 install compare_strings_lib`
#### Usage:
```
from strings.compare import compare
result = compare("1.2", "1.1")
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl compare-strings-lib-0.0.2:
pip install compare-strings-lib-0.0.2.whl
نصب پکیج tar.gz compare-strings-lib-0.0.2:
pip install compare-strings-lib-0.0.2.tar.gz