Python Sandbox
CreatedJohanLi233
Safely executes Python code and manages packages in isolated Docker containers, designed for use with LLMs.
About
Python Sandbox provides a secure and interactive Python code execution environment using isolated Docker containers. It's designed to be used with LLMs, enabling safe execution of code and package management. The tool facilitates creating and managing sandboxes, installing packages, executing Python code, and generating files, which can then be accessed via web links. It supports interactions via SSE and is compatible with MCP Inspector.
Key Features
- 4 GitHub stars
- Securely run Python code in isolated Docker containers.
- Easily install and manage Python packages within sandboxes.
- Execute terminal commands within the sandbox.
- Generate files and access them through web links.
- Upload local files to the sandbox environment.
Use Cases
- Isolate Python environments for testing and experimentation.
- Safely execute untrusted Python code generated by LLMs.
- Provide a sandboxed environment for running potentially harmful scripts.