./math/py-asteval, Safe, minimalistic expression evaluator using ast module

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.6, Package name: py312-asteval-1.0.6, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [math/py-numpy] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 50.858 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-20 07:08:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asteval: updated to 1.0.6

1.0.6

drop testing and support for Python3.8, add Python 3.13, change document to \ 
reflect this.
implement safe_getattr and safe_format functions; fix bugs in UNSAFE_ATTRS and \ 
UNSAFE_ATTRS_DTYPES usage
make all procedure attributes private to curb access to AST nodes, which can be \ 
exploited
improvements to error messages, including use ast functions to construct better \ 
error messages
remove import of numpy.linalg, as documented
update doc description for security advisory
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-10-03 11:00:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asteval: updated to 1.0.5

1.0.5

bugfix:

more work on handling errors
   2024-09-15 17:38:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asteval: updated to 1.0.4

1.0.4
Unknown changes
   2024-09-13 21:17:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asteval: updated to 1.0.3

1.0.3
Unknown changes
   2024-08-02 09:36:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asteval: updated to 1.0.2

1.0.2
Unknown changes
   2024-07-22 19:52:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asteval: updated to 1.0.1

1.0.1
Unknown changes