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.
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.
To install py311-asteval, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py311-asteval
To see what files were installed by py311-asteval, run:
port contents py311-asteval
To later upgrade py311-asteval, run:
sudo port selfupdate && sudo port upgrade py311-asteval
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.