SimpleEval
JSON →SimpleEval is a Python library designed for safely evaluating simple expressions provided by untrusted users. It acts as a controlled alternative to Python's built-in `eval()` function, parsing expressions using the `ast` module to restrict executable operations, functions, and names. This prevents malicious code execution while allowing flexible, user-defined calculations. The current version is 1.0.7, and the library maintains an active development and release cadence.
Traffic · last 30 days ↑0% vs prev 7d
total hits 17
actors 5 distinct systems
last hit 7d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇫🇷 France
API endpoints
full doc /v1/registry/simpleeval
install /v1/registry/simpleeval/install
compatibility /v1/registry/simpleeval/compatibility