Provides support for restricted execution of Python scripts in Zope. Current version 5.2, released in 2023. Maintenance mode; occasional releases for bug fixes or compatibility updates.
pip install Products.PythonScriptsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic import verification. Full usage requires a Zope application server.
Upgrade Python to 3.10+ and ensure all dependencies are compatible.
Only import and use within a Zope application context (e.g., inside PythonScript objects in Zope management interface).
Test scripts within Zope to confirm allowed operations. Common restrictions: no file I/O, no subprocess, limited imports.
Install with: pip install Products.PythonScripts
Install with: pip install Products.PythonScripts[restricted] or manually install restrictedPython.