math/py-asteval 1.0.10 NetBSD
Safe, minimalistic expression evaluator using ast module
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
6998d0c3fd- License
- mit
- Categories
- math, python
- Package size
- 52.7 KiB, 270.1 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | math/py-asteval | 1.0.10 |
| DragonFly | devel/py-asteval | 1.0.5_1 |
Install
Binary package:
pkgin install py311-asteval
From pkgsrc:
cd /usr/pkgsrc/math/py-asteval && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.0.10 |
| NetBSD 10.1 aarch64 | 1.0.9 |
| SmartOS / illumos x86_64 | 1.0.10 |
| macOS 15 arm64 | 1.0.10 |
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-asteval-1.0.10,py313-asteval-1.0.10,py314-asteval-1.0.10