Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Boolean Parser

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
Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
boolparser-0.2.3-py2.py3-none-any.whl (5.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel May 4, 2017
boolparser-0.2.3.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source May 4, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting