2018-08-14 09:33:33 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-simpleeval: updated to 0.9.6 0.9.6: Unknown changes. |
2017-10-11 09:10:47 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-simpleeval: update to 0.9.5 0.9.5: Python 3 compatibility. Bug fixes. |
2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229) |
Log message: Switch github HOMEPAGEs to https. |
2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577) |
Log message: Add python-3.6 to incompatible versions. |
2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599) |
Log message: Remove python33: adapt all packages that refer to it. |
2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356) |
Log message: Switch to MASTER_SITES_PYPI. |
2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578) |
Log message: Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 |
2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262) |
Log message: Add SHA512 digests for distfiles for math category Problems found locating distfiles: Package dfftpack: missing distfile dfftpack-20001209.tar.gz Package eispack: missing distfile eispack-20001130.tar.gz Package fftpack: missing distfile fftpack-20001130.tar.gz Package linpack: missing distfile linpack-20010510.tar.gz Package minpack: missing distfile minpack-20001130.tar.gz Package odepack: missing distfile odepack-20001130.tar.gz Package py-networkx: missing distfile networkx-1.10.tar.gz Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz Package quadpack: missing distfile quadpack-20001130.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. |
2015-08-25 07:05:39 by Richard PALO | Files touched by this commit (4) |
Log message: Add py-simpleeval A quick single-file MIT-Licenced 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. It's deliberately very simple, just a single file you can dump into a project, or import from pypi (pip or easy_install). Internally, it's using the amazing python ast module to parse the expression, which allows very fine control of what is and isn't allowed. It should be completely safe in terms of what operations can be performed by the expression. The only issue I know to be aware of is that you can create an expression which takes a long time to evaluate, or which evaluating requires an awful lot of memory, which leaves the potential for DOS attacks. There is basic protection against this, and you can lock it down further if you desire. You should be aware of this when deploying in a public setting. The defaults are pretty locked down and basic, and it's very easy to add whatever extra specific functionality you need (your own functions, variable/name lookup, \ etc). |