Sandboxed environment for untrusted code / templates, using zope.security and
RestrictedPython
=======
CHANGES
=======
6.0 (2023-09-13)
----------------
- Drop support for Python 2.7, 3.5, 3.6.
- Make sure the tests do not fail even on unsupported PyPy3 because ZTK might
run them.
5.0 (2022-11-29)
----------------
Backwards incompatible changes
++++++++++++++++++++++++++++++
- Require ``RestrictedPython >= 4``.
- Drop support for writing output of ``print`` calls to a variable named
``untrusted_output``. It is now done the same way ``RestrictedPython``
handles printing, i. e. access it trough the variable ``printed``.
``.interpreter.CompiledProgram`` still supports output to a file like object
by implementing accessing the printed data.
- The following names are no longer available via ``__builtins__`` as they are
either potentially harmful, not accessible at all or meaningless:
+ ``__debug__``
+ ``__name__``
+ ``__doc__``
+ ``copyright``
+ ``credits``
+ ``license``
+ ``quit``
- Drop support to run the tests using ``python setup.py test``.
- Drop support for Python 2.6.
Features
++++++++
- Add support for Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11.
4.0.0 (2013-02-12)
------------------
- Test coverage at 100%.
- Package extracted from zope.security, preserving revision history
Raw data
{
"_id": null,
"home_page": "http://github.com/zopefoundation/zope.untrustedpython",
"name": "zope.untrustedpython",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "zope untrusted python",
"author": "Zope Foundation and Contributors",
"author_email": "zope-dev@zope.org",
"download_url": "https://files.pythonhosted.org/packages/cb/29/09793169f827743662b879ceea6c3744af720d406ecf657c34d69ef4cff5/zope.untrustedpython-6.0.tar.gz",
"platform": null,
"description": "Sandboxed environment for untrusted code / templates, using zope.security and\nRestrictedPython\n\n\n=======\nCHANGES\n=======\n\n6.0 (2023-09-13)\n----------------\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Make sure the tests do not fail even on unsupported PyPy3 because ZTK might\n run them.\n\n\n5.0 (2022-11-29)\n----------------\n\nBackwards incompatible changes\n++++++++++++++++++++++++++++++\n\n- Require ``RestrictedPython >= 4``.\n\n- Drop support for writing output of ``print`` calls to a variable named\n ``untrusted_output``. It is now done the same way ``RestrictedPython``\n handles printing, i. e. access it trough the variable ``printed``.\n ``.interpreter.CompiledProgram`` still supports output to a file like object\n by implementing accessing the printed data.\n\n- The following names are no longer available via ``__builtins__`` as they are\n either potentially harmful, not accessible at all or meaningless:\n\n + ``__debug__``\n + ``__name__``\n + ``__doc__``\n + ``copyright``\n + ``credits``\n + ``license``\n + ``quit``\n\n- Drop support to run the tests using ``python setup.py test``.\n\n- Drop support for Python 2.6.\n\nFeatures\n++++++++\n\n- Add support for Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11.\n\n\n4.0.0 (2013-02-12)\n------------------\n\n- Test coverage at 100%.\n\n- Package extracted from zope.security, preserving revision history\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "Zope Untrusted Python Library",
"version": "6.0",
"project_urls": {
"Homepage": "http://github.com/zopefoundation/zope.untrustedpython"
},
"split_keywords": [
"zope",
"untrusted",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f8a1ea117aa325b034a4f03c74a5a229dbce6e202d1b9803054aed19a3f72db7",
"md5": "406cbbd0a010399fcc7fe208fc142787",
"sha256": "958e257b7225fd85f10719faab836b4f1594eee44579d19374a948de00d2dfec"
},
"downloads": -1,
"filename": "zope.untrustedpython-6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "406cbbd0a010399fcc7fe208fc142787",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 9478,
"upload_time": "2023-09-13T09:04:25",
"upload_time_iso_8601": "2023-09-13T09:04:25.653044Z",
"url": "https://files.pythonhosted.org/packages/f8/a1/ea117aa325b034a4f03c74a5a229dbce6e202d1b9803054aed19a3f72db7/zope.untrustedpython-6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cb2909793169f827743662b879ceea6c3744af720d406ecf657c34d69ef4cff5",
"md5": "811bf88dd89861d25c0f8d1da916e6f2",
"sha256": "82734272346d8da9e6b515046cc7d1a9a60e764d03dfcc3c086f5a9e0f8cf209"
},
"downloads": -1,
"filename": "zope.untrustedpython-6.0.tar.gz",
"has_sig": false,
"md5_digest": "811bf88dd89861d25c0f8d1da916e6f2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 18133,
"upload_time": "2023-09-13T09:04:27",
"upload_time_iso_8601": "2023-09-13T09:04:27.506556Z",
"url": "https://files.pythonhosted.org/packages/cb/29/09793169f827743662b879ceea6c3744af720d406ecf657c34d69ef4cff5/zope.untrustedpython-6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-13 09:04:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zopefoundation",
"github_project": "zope.untrustedpython",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "zope.untrustedpython"
}