Boolean Parser
Reason this release was yanked:
deprecated
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
boolparser-0.3.1.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for boolparser-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b728ed9e03e675e65373e3e268623c55791660ce5db24a0bb3c0ca6ded82125 |
|
MD5 | 934731a30b5d83c2d2929a0c9ae22d48 |
|
BLAKE2b-256 | 15c532a389fbebfcd8348738982d055644d3da068d51bc50ba07e47298595cf3 |