boolean-parser


Nameboolean-parser JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://github.com/havok2063/boolean_parser
SummaryPackage for parsing strings containing conditional boolean logic
upload_time2022-12-01 15:00:22
maintainer
docs_urlNone
authorBrian Cherinka
requires_python>=3.6
licenseBSD 3-Clause License
keywords software parsing sqlalchemy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # boolean_parser

[![Build Status](https://travis-ci.com/havok2063/boolean_parser.svg?branch=master)](https://travis-ci.com/havok2063/boolean_parser)
[![Documentation Status](https://readthedocs.org/projects/boolean-parser/badge/?version=latest)](https://boolean-parser.readthedocs.io/en/latest/?badge=latest)
![Python application](https://github.com/havok2063/boolean_parser/workflows/Python%20application/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/havok2063/boolean_parser/badge.svg?branch=master)](https://coveralls.io/github/havok2063/boolean_parser?branch=master)
[![codecov](https://codecov.io/gh/havok2063/boolean_parser/branch/master/graph/badge.svg)](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



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/havok2063/boolean_parser",
    "name": "boolean-parser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "software,parsing,sqlalchemy",
    "author": "Brian Cherinka",
    "author_email": "havok2063@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7a/3f/188d3356a6a6b8d37fb4560a101cde76d077ddfb9df8a096e0aa4de98745/boolean-parser-0.1.4.tar.gz",
    "platform": null,
    "description": "# boolean_parser\n\n[![Build Status](https://travis-ci.com/havok2063/boolean_parser.svg?branch=master)](https://travis-ci.com/havok2063/boolean_parser)\n[![Documentation Status](https://readthedocs.org/projects/boolean-parser/badge/?version=latest)](https://boolean-parser.readthedocs.io/en/latest/?badge=latest)\n![Python application](https://github.com/havok2063/boolean_parser/workflows/Python%20application/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/havok2063/boolean_parser/badge.svg?branch=master)](https://coveralls.io/github/havok2063/boolean_parser?branch=master)\n[![codecov](https://codecov.io/gh/havok2063/boolean_parser/branch/master/graph/badge.svg)](https://codecov.io/gh/havok2063/boolean_parser)\n\n\nPython 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\nconvert string boolean expressions into SQLAlchemy filter conditions.\n\nDocumentation: https://boolean-parser.readthedocs.io/en/latest/\n\nParsers:\n - Parser: core parser for handling parsing complex boolean conditional expressions\n - SQLParser: parser that enables converting a string conditional into a SQLAlchemy filter clause\n\n\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Package for parsing strings containing conditional boolean logic",
    "version": "0.1.4",
    "split_keywords": [
        "software",
        "parsing",
        "sqlalchemy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "9a717c6aaad939a41486aecae79a6cce",
                "sha256": "50dc47c1d74ac5615dcc43e15478f50b88605faf3a4a9ca5f74c0828ab6bb5ce"
            },
            "downloads": -1,
            "filename": "boolean_parser-0.1.4-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9a717c6aaad939a41486aecae79a6cce",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 22103,
            "upload_time": "2022-12-01T15:00:20",
            "upload_time_iso_8601": "2022-12-01T15:00:20.287403Z",
            "url": "https://files.pythonhosted.org/packages/22/43/53523cec8ebf698c0ef2c6d535f33686b05261cbd4ac0fbad8f0fdd525a4/boolean_parser-0.1.4-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a5d0efc92fead0fe92b7a8fead43e964",
                "sha256": "01d998687166bef8fcf47d5df567d6b9b23ac0ce33259ef46692e166f767ad58"
            },
            "downloads": -1,
            "filename": "boolean-parser-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "a5d0efc92fead0fe92b7a8fead43e964",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 16511,
            "upload_time": "2022-12-01T15:00:22",
            "upload_time_iso_8601": "2022-12-01T15:00:22.000486Z",
            "url": "https://files.pythonhosted.org/packages/7a/3f/188d3356a6a6b8d37fb4560a101cde76d077ddfb9df8a096e0aa4de98745/boolean-parser-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-01 15:00:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "havok2063",
    "github_project": "boolean_parser",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "boolean-parser"
}
        
Elapsed time: 0.06812s