Package Info

python-asteval


Safe, minimalistic evaluator of python expression using ast module


Development/Languages/Python

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.


License: MIT
URL: http://github.com/newville/asteval

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.9.17-bp155.2.12 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-asteval
0.9.17-bp154.1.28 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-asteval
0.9.17-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-asteval
  • python3-asteval
0.9.17-bp152.1.1 info GA Release 2020-06-03 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-asteval
  • python3-asteval
0.9.13-bp151.2.3 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-asteval
  • python3-asteval