RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code.