Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moritz/python-matheval

Example project for Continuous Delivery. Evaluates mathematical expressions.
https://github.com/moritz/python-matheval

Last synced: 16 days ago
JSON representation

Example project for Continuous Delivery. Evaluates mathematical expressions.

Awesome Lists containing this project

README

        

python-matheval is the second example project for [my book in progress on Continuous Delivery](https://deploybook.com/).

It is a python-based web service that evaluates a tree of mathematical expresions. For example it turns the JSON tree

["*", ["+", 2, 3], 4]

which corresponds to (2 + 3) * 4, into the result, 20.

It is a flask application, packaged with [dh-virtualenv](https://github.com/spotify/dh-virtualenv), run by [gunicorn](http://gunicorn.org/) and controlled through systemd.