Skip to main content

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


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.2.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boolparser-0.2.3-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file boolparser-0.2.3.tar.gz.

File metadata

  • Download URL: boolparser-0.2.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for boolparser-0.2.3.tar.gz
Algorithm Hash digest
SHA256 046b7ad656188a2d15241e8e4673c09d85ed3bb11e61099cf4981337aa72c948
MD5 27fae11bf5b424811b75455ef900802a
BLAKE2b-256 ab055ccdd0be5ebcbfc6dd7e03a3be8d0572409cd9f8b7d879e16730484fc8af

See more details on using hashes here.

File details

Details for the file boolparser-0.2.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for boolparser-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f09d42c6ad1beba5e6a6999950717cc3aa1eaa4fe2324608fec11105eb5d507b
MD5 fba386ec35f74130f80681e4f6be15dc
BLAKE2b-256 5d540a8d55c50109bff98dd34f5eae82db74270c6053c12561316a7ffeb3cd4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page