Home - pprados/pysandboxes GitHub Wiki

PySandboxes documentation

This index is organized around common reader tasks. Start with a working example, understand the security model and its limits, then select a provider and verify the scenarios your application needs.

Get started and configure

  • Quick start and use cases — run an application in complete mode and follow links to partial mode.
  • Configuration files — locate .py-sandboxes, compose files with include, and configure a module.
  • FAQ — answers to common usage and troubleshooting questions.
  • Samples — framework integrations and instructions for running the sample projects.
  • Integrating with the MCP SDK — configure a sandbox for an MCP server.
  • Database — use the database-backed data table.

Understand the security model

Choose and operate an OS provider

Test and evaluate

  • Test coverage map — test suites, provider matrix, skipped scenarios, and approximate counts.
  • Learning from tests — use full or partial test runs to discover and review sandbox permissions.
  • Alternative sandboxes — comparison with other sandboxes, frameworks, and hosted services.
  • Use cases — threat scenarios and suitable isolation levels.

Maintain and explore the project