Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

ringo-framework/brabbel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

989e4d8 · Apr 3, 2017
Apr 3, 2017
Apr 3, 2017
Apr 3, 2017
Oct 20, 2014
Apr 24, 2015
Dec 19, 2015
Jul 20, 2016
Oct 21, 2014
Jun 3, 2015
Oct 31, 2014
Dec 19, 2015
Jul 18, 2016
Nov 16, 2016

Repository files navigation

Brabbel

https://travis-ci.org/ringo-framework/brabbel.svg?branch=master https://api.codacy.com/project/badge/grade/bf6a0af8b49c47299184bfb31153b1b7

Brabbel is a simple python based expression language. Brabbel can be used to evaluate basic arithmetic and boolean expression on a given set of python values in a save way.

Example:

from brabbel import Expression
expr = Expression("$foo < $bar")
values = {"foo": 1, "bar": 2}
expr.evaluate(values)
-> True

For more information please read the documentation on http://brabbel.readthedocs.org/en/latest