Skip to main content

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 environments
  • detect: Auto-detects frameworks (Flask, FastAPI, Django, Streamlit, Gradio) and code-level imports
  • run: Automatically generates and verifies requirements.txt from your imports, sets up a virtual environment, and runs your app on its default port.
  • run --isolated: Creates a temporary .sandbox environment, safely installs your dependencies without touching your project directory, and destroys the sandbox gracefully on Ctrl+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

sandbox_engine_cli-1.0.0.tar.gz (2.0 MB view details)

Uploaded Source

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

Hashes for sandbox_engine_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 73dd7f0804e02cd2af2a53c25898daaf26eb616fec60725e688bffc7a43e60db
MD5 ce3172c447cc2e7d126972c524967df9
BLAKE2b-256 6b4a20ba8e1a5be3ee61b7c7aef7730e58bd4435ed3c54daa9566d4540c3efa5

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