Path to this page:
./
math/py-asteval,
Safe, minimalistic expression evaluator using ast module
Branch: CURRENT,
Version: 1.0.5,
Package name: py312-asteval-1.0.5,
Maintainer: pkgsrc-usersASTEVAL 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.
Required to run:[
devel/py-setuptools] [
math/py-numpy] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 49.635 KB
Version history: (Expand)
- (2024-10-03) Updated to version: py312-asteval-1.0.5
- (2024-09-15) Updated to version: py312-asteval-1.0.4
- (2024-09-13) Updated to version: py312-asteval-1.0.3
- (2024-08-02) Updated to version: py311-asteval-1.0.2
- (2024-07-22) Updated to version: py311-asteval-1.0.1
- (2024-05-24) Updated to version: py311-asteval-0.9.33
CVS history: (Expand)
2024-03-04 09:00:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-asteval: updated to 0.9.32
0.9.32
Unknown changes
|
2023-07-17 09:19:25 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-asteval: updated to 0.9.31
0.9.31
cleanup numpy imports to avoid deprecated functions, add financial functions \
from numpy_financial module, if installed.
prefer 'user_symbols' when initializing Interpreter, but still support \
'usersyms' argument. Will deprecate and remove eventually.
add support of optional (off-by default) "nested symbol table", based \
on a Group object that can be accessed from Python either with dict syntax (ie \
aeval.symtable['x']) or with object attribute access (aeval.symtable.x). In \
addition, symbols can be found by looking first in the top-level symbol table \
and then in sub-Groups named in symtable._searchgroups, allowing for a more \
hierarchical, nested symbol table. This should be considered experimental and is \
off by default. The make_symbol_table() function gains a nested=False argument \
to control whether to use this option.
update tests to run most tests with symbol tables of dict and nested group type.
general code and testing cleanup.
0.9.30
add config argument to Interpreter to more fully control which nodes are supported
add support for import and importfrom -- off by default
add support for with blocks
add support for f-strings
add support of set and dict comprehension
fix bug with 'int**int' not returning a float.
|
2023-07-01 10:37:47 by Thomas Klausner | Files touched by this commit (105) | |
Log message:
*: restrict py-numpy users to 3.9+ in preparation for update
|
2023-02-14 18:49:26 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-asteval: updated to 0.9.29
0.9.29
bug fixes
|
2022-11-15 11:12:18 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-asteval: updated to 0.9.28
0.9.28
add support for Python 3.11
add support for multiple list comprehensions
improve performance of making the initial symbol table, and Interpreter \
creation, including better checking for index_tricks attributes
|
2022-06-08 19:14:39 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-asteval: updated to 0.9.27
0.9.27
more cleanups
|
2022-01-17 09:56:48 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-asteval: updated to 0.9.26
0.9.26:
fix setup.py again
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|