ast
asteval
pypi i asteval
ast

asteval

minimalistic evaluator of python expression using ast module

by Matt Newville

0.9.27 (see all)License:MIT License
pypi i asteval
Readme

ASTEVAL provides a numpy-aware, safe(ish) 'eval' function Emphasis is on mathematical expressions, and so numpy ufuncs are used if available. Symbols are held in the Interpreter symbol table 'symtable': a simple dictionary supporting a simple, flat namespace. Expressions can be compiled into ast node for later evaluation, using the values in the symbol table current at evaluation time.

GitHub Stars

133

LAST COMMIT

6mos ago

MAINTAINERS

1

CONTRIBUTORS

18

OPEN ISSUES

5

OPEN PRs

1
VersionTagPublished
0.9.27
3mos ago
0.9.26
7mos ago
0.9.25
1yr ago
0.9.24
1yr ago
No alternatives found
No tutorials found
Add a tutorial