A CLI tool to run Python projects in sandboxed environments.
Project description
sandbox-engine
A fast and secure CLI tool designed to run Python projects in sandboxed environments without mutating your local file structure.
Features
scan: Discovers Python files, entrypoints, and virtual environmentsdetect: Auto-detects frameworks (Flask, FastAPI, Django, Streamlit, Gradio) and code-level importsrun: Automatically generates and verifiesrequirements.txtfrom your imports, sets up a virtual environment, and runs your app on its default port.run --isolated: Creates a temporary.sandboxenvironment, safely installs your dependencies without touching your project directory, and destroys the sandbox gracefully onCtrl+C.
Installation
pip install sandbox-engine
Basic Usage
Run inside any Python project directory:
sandbox-engine scan
sandbox-engine detect
sandbox-engine run
sandbox-engine run --isolated
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
File details
Details for the file sandbox_engine_cli-1.0.0.tar.gz.
File metadata
- Download URL: sandbox_engine_cli-1.0.0.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73dd7f0804e02cd2af2a53c25898daaf26eb616fec60725e688bffc7a43e60db
|
|
| MD5 |
ce3172c447cc2e7d126972c524967df9
|
|
| BLAKE2b-256 |
6b4a20ba8e1a5be3ee61b7c7aef7730e58bd4435ed3c54daa9566d4540c3efa5
|