Better HN
topnewbestaskshowjobs
Log inSign up

swarles

1 karma · joined Apr 13, 2026 (7mo ago) · 1 submissions

Submissions

comment 7mo ago · link · parent

A small Python library/framework for customising how the AST is walked and evaluated. I plan to use it in another project to configure a safe-ish sandboxed way of evaluating user submitted expressions and code. There are a few other libraries that enable this, but I found they bake in some stuff to the internals that I didn't want.