devel/py-simpleeval 1.0.7p0 OpenBSD
simple, safe single expression evaluator library
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Sebastien Marie <[email protected]>
- Last update
- Commit
3f059e808a- Categories
- devel, lang/python
Description
A quick single file library for easily adding evaluatable expressions into python projects.
Say you want to allow a user to set an alarm volume, which could depend on the time of day, alarm level, how many previous alarms had gone off, and if there is music playing at the time.
Or if you want to allow simple formulae in a web application, but don't want to give full eval() access, or don't want to run in javascript on the client side.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-simpleeval | 1.0.7p0 |
| FreeBSD | devel/py-simpleeval | 1.0.8 |
| DragonFly | devel/py-simpleeval | 0.9.13 |
| HardenedBSD | devel/py-simpleeval | 1.0.8 |
| GhostBSD | devel/py-simpleeval | 1.0.8 |
Install
Binary package:
pkg_add py3-simpleeval
From the ports tree:
cd /usr/ports/devel/py-simpleeval && make install
Dependencies
Build dependencies 4
Run dependencies 1
No port depends on this one.