danthedeckie/simpleeval
View on GitHub ↗ ★ 617 Python
Simple Safe Sandboxed Extensible Expression Evaluator for Python
5 mentions on Hacker News by 3 people: 2 stories, 3 comments · first 2013-12-03 · latest 2024-11-20
20082026
-
…interested in Starlark and wanted to keep expressions similar to how they were with simpleeval. [1] https://github.com/danthedeckie/simpleeval [2] https://github.com/danthedeckie/simpleeval/issues/138 [3]…
comment by networked · 2024-11-20 · in Show HN: Retry a command with exponential backoff and jitter (+ Starlark exprs) -
…at that point, and can re-write the AST to use workarounds, etc. That's the approach I took with https://github.com/danthedeckie/simpleeval .
comment by deckiedan · 2014-09-07 · in Bypassing a Python sandbox by abusing code objects -
I wrote a very locked down python "expression evaluator" library ( https://github.com/danthedeckie/simpleeval ) which uses code inspection and is reasonably safe (caveats listed in the README). Any comments or loopholes found would be…
comment by deckiedan · 2014-09-07 · in Bypassing a Python sandbox by abusing code objects