RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code. WWW: https://pypi.python.org/pypi/RestrictedPython/