{"library":"restrictedpython","type":"library","category":null,"description":"RestrictedPython is a tool that defines a subset of the Python language, allowing program input to be executed within a trusted environment. It is not a full sandbox system but aids in establishing a controlled execution space for untrusted code. The current stable version is 8.1, released on 2025-10-19, and the project maintains an active release cadence.","language":"python","status":"active","version":"8.1","tags":["security","sandbox","code execution","zope","ast","policy"],"install":[{"cmd":"pip install RestrictedPython","imports":["from RestrictedPython import compile_restricted","from RestrictedPython import safe_globals","from RestrictedPython import safe_builtins"]}],"homepage":null,"github":"https://github.com/zopefoundation/RestrictedPython","docs":"https://restrictedpython.readthedocs.io/","changelog":null,"pypi":"https://pypi.org/project/restrictedpython/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.03,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/restrictedpython/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}