Skip to main content

Zope Untrusted Python Library

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.untrustedpython-6.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zope.untrustedpython-6.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file zope.untrustedpython-6.0.tar.gz.

File metadata

  • Download URL: zope.untrustedpython-6.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for zope.untrustedpython-6.0.tar.gz
Algorithm Hash digest
SHA256 82734272346d8da9e6b515046cc7d1a9a60e764d03dfcc3c086f5a9e0f8cf209
MD5 811bf88dd89861d25c0f8d1da916e6f2
BLAKE2b-256 cb2909793169f827743662b879ceea6c3744af720d406ecf657c34d69ef4cff5

See more details on using hashes here.

File details

Details for the file zope.untrustedpython-6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zope.untrustedpython-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 958e257b7225fd85f10719faab836b4f1594eee44579d19374a948de00d2dfec
MD5 406cbbd0a010399fcc7fe208fc142787
BLAKE2b-256 f8a1ea117aa325b034a4f03c74a5a229dbce6e202d1b9803054aed19a3f72db7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page