py-asteval

v 0.9.32 Updated: 1 month, 2 weeks ago

Safe, minimalistic evaluator of python expression using ast module

ASTEVAL is a safe(ish) evaluator of Python expressions and statements, using Python's ast module. The idea is to provide a simple, safe, and robust miniature mathematical language that can handle user-input. The emphasis here is on mathematical expressions, and so many functions from numpy are imported and used if available.

https://github.com/lmfit/asteval

Installable ports:


Add to my watchlist

Installations 0
Requested Installations 0