Boolean Parser
Reason this release was yanked:
deprecated
Project description
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.
News
0.1
Release date: Dec 13, 2012
Initial import of boolean parser into git.
0.2
Release date: Mar 14, 2013
Fixing a few comments
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
File details
Details for the file boolparser-0.2.tar.gz
.
File metadata
- Download URL: boolparser-0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1791688b57dadba32a7cb846ceab38c43fb83f847cb5f72b3af2c32bbe15968b |
|
MD5 | 1f76043e59cef009bca14018eb0b0295 |
|
BLAKE2b-256 | 78c34c46737732646096c4dbebf0bcf724af2ed082ff694457300c20001a1222 |