Skip to main content

boolean_parser

Build Status Documentation Status Python application Coverage Status codecov

Python package for parsing a string with conditional expressions joined with boolean logic. Uses the 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

Release files for boolean-parser 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boolean-parser 0.1.4
File Size Uploaded
boolean-parser-0.1.4.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for boolean-parser 0.1.4
File Interpreter ABI Platform
boolean_parser-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 38.6 kB

Release files / boolean-parser-0.1.4.tar.gz

Download URL boolean-parser-0.1.4.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01d998687166bef8fcf47d5df567d6b9b23ac0ce33259ef46692e166f767ad58
BLAKE2b-256 checksum
How to use checksums
7a3f188d3356a6a6b8d37fb4560a101cde76d077ddfb9df8a096e0aa4de98745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release files / boolean_parser-0.1.4-py2.py3-none-any.whl

Download URL boolean_parser-0.1.4-py2.py3-none-any.whl
Size 22.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
50dc47c1d74ac5615dcc43e15478f50b88605faf3a4a9ca5f74c0828ab6bb5ce
BLAKE2b-256 checksum
How to use checksums
224353523cec8ebf698c0ef2c6d535f33686b05261cbd4ac0fbad8f0fdd525a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page