zope.untrustedpython


Namezope.untrustedpython JSON
Version 6.1 PyPI version JSON
download
home_pagehttp://github.com/zopefoundation/zope.untrustedpython
SummaryZope Untrusted Python Library
upload_time2024-08-02 06:33:21
maintainerNone
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords zope untrusted python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/zopefoundation/zope.untrustedpython/actions/workflows/tests.yml/badge.svg
    :target: https://github.com/zopefoundation/zope.untrustedpython/actions/workflows/tests.yml
    :alt: CI Status
.. image:: https://readthedocs.org/projects/untrustedpython/badge/?version=latest
    :target: https://untrustedpython.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

Sandboxed environment for untrusted code / templates, using zope.security and
RestrictedPython


=======
CHANGES
=======

6.1 (2024-08-02)
----------------

- Update safe builtins for Python 3, adding ``bytes``, and removing ``cmp``,
  ``coerce``, ``long``, ``reduce``, ``unichr``, and ``unicode``.


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": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "zope untrusted python",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.org",
    "download_url": "https://files.pythonhosted.org/packages/07/43/35e07a0a20b559dd0fbeb2326530722da0f312b90fcdb131a7cf2d656388/zope.untrustedpython-6.1.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/zopefoundation/zope.untrustedpython/actions/workflows/tests.yml/badge.svg\n    :target: https://github.com/zopefoundation/zope.untrustedpython/actions/workflows/tests.yml\n    :alt: CI Status\n.. image:: https://readthedocs.org/projects/untrustedpython/badge/?version=latest\n    :target: https://untrustedpython.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\nSandboxed environment for untrusted code / templates, using zope.security and\nRestrictedPython\n\n\n=======\nCHANGES\n=======\n\n6.1 (2024-08-02)\n----------------\n\n- Update safe builtins for Python 3, adding ``bytes``, and removing ``cmp``,\n  ``coerce``, ``long``, ``reduce``, ``unichr``, and ``unicode``.\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.1",
    "project_urls": {
        "Homepage": "http://github.com/zopefoundation/zope.untrustedpython"
    },
    "split_keywords": [
        "zope",
        "untrusted",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97027fb1ee6d4c1ea296ec4f6a29d8f88609583a165606958eb71f54add285a2",
                "md5": "e2cf93ff7252adff7302df7a2c37614d",
                "sha256": "53409443cd296ba586bb0ef703a015bf22f94c1d95c0174b5be11d3c5b1db57b"
            },
            "downloads": -1,
            "filename": "zope.untrustedpython-6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e2cf93ff7252adff7302df7a2c37614d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 9656,
            "upload_time": "2024-08-02T06:33:20",
            "upload_time_iso_8601": "2024-08-02T06:33:20.133282Z",
            "url": "https://files.pythonhosted.org/packages/97/02/7fb1ee6d4c1ea296ec4f6a29d8f88609583a165606958eb71f54add285a2/zope.untrustedpython-6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "074335e07a0a20b559dd0fbeb2326530722da0f312b90fcdb131a7cf2d656388",
                "md5": "9668594b3ccc52718bc2f6e772b7272a",
                "sha256": "dae70f67c9f94c0f051619af9092fea739e47284b75bef01b82ca7d75e8f3814"
            },
            "downloads": -1,
            "filename": "zope.untrustedpython-6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9668594b3ccc52718bc2f6e772b7272a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 18834,
            "upload_time": "2024-08-02T06:33:21",
            "upload_time_iso_8601": "2024-08-02T06:33:21.874454Z",
            "url": "https://files.pythonhosted.org/packages/07/43/35e07a0a20b559dd0fbeb2326530722da0f312b90fcdb131a7cf2d656388/zope.untrustedpython-6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-02 06:33:21",
    "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"
}
        
Elapsed time: 0.30624s