boolparser-0.3.3
توضیحات
Boolean Parser
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | boolparser-0.3.3 |
| نام | boolparser |
| نسخه کتابخانه | 0.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christopher Lee |
| ایمیل نویسنده | lee@foldmountain.com |
| آدرس صفحه اصلی | http://github.com/eelsirhc/boolparser |
| آدرس اینترنتی | https://pypi.org/project/boolparser/ |
| مجوز | BSD |
boolparser
==========================
This package defines a simple boolean parser using PyParsing that allows user defined variables and floating point numbers to be used in a nested boolean comparison. For example, if the variables *a*,*b*, and *c* are defined then the following string can be parsed
(a==1 & b<2) | c>4
The resolution of *a*, *b*, and *c* is left up to the user by inheriting from the class `EvaluateVariable` class and overriding the `eval` function. This allows the variables to be references to (say) data stored in a file.
BSD licensed.
نیازمندی
| مقدار | نام |
|---|---|
| - | pyparsing |
نحوه نصب
نصب پکیج whl boolparser-0.3.3:
pip install boolparser-0.3.3.whl
نصب پکیج tar.gz boolparser-0.3.3:
pip install boolparser-0.3.3.tar.gz