boolean-parser-0.1.4
توضیحات
Package for parsing strings containing conditional boolean logic
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | boolean-parser-0.1.4 |
| نام | boolean-parser |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brian Cherinka |
| ایمیل نویسنده | havok2063@gmail.com |
| آدرس صفحه اصلی | https://github.com/havok2063/boolean_parser |
| آدرس اینترنتی | https://pypi.org/project/boolean-parser/ |
| مجوز | BSD 3-Clause License |
# boolean_parser
[](https://travis-ci.com/havok2063/boolean_parser)
[](https://boolean-parser.readthedocs.io/en/latest/?badge=latest)

[](https://coveralls.io/github/havok2063/boolean_parser?branch=master)
[](https://codecov.io/gh/havok2063/boolean_parser)
Python package for parsing a string with conditional expressions joined with boolean logic. Uses the [pyparsing](https://github.com/pyparsing/pyparsing) package to construct grammatical clauses representing conditional expression, e.g. "x > 1 and y < 2". String conditional expressions can then be parsed into object representation to be handled downstream. Can
convert string boolean expressions into SQLAlchemy filter conditions.
Documentation: https://boolean-parser.readthedocs.io/en/latest/
Parsers:
- Parser: core parser for handling parsing complex boolean conditional expressions
- SQLParser: parser that enables converting a string conditional into a SQLAlchemy filter clause
نیازمندی
| مقدار | نام |
|---|---|
| >=1.16.0 | six |
| >=2.4 | pyparsing |
| >=1.4.0 | sqlalchemy |
| >=5.4 | pytest |
| >=2.4.0 | pytest-cov |
| >=0.8.0 | pytest-sugar |
| >=7.13.0 | ipython |
| >=2.12.0 | factory-boy |
| >=2.0.3 | pytest-factoryboy |
| >=1.8.0 | Sphinx |
| >=0.4.12 | sphinx-bootstrap-theme |
| >=1.2.0 | sphinx-issues |
| <3.1 | Jinja2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl boolean-parser-0.1.4:
pip install boolean-parser-0.1.4.whl
نصب پکیج tar.gz boolean-parser-0.1.4:
pip install boolean-parser-0.1.4.tar.gz