github alibaba/OpenSandbox python/code-interpreter/v0.1.1

3 months ago

Python SDK — Code Interpreter (v0.1.0 -> v0.1.1)

Breaking Changes

  • Reduced surface on CodeInterpreter
    • CodeInterpreter no longer re-exports many sandbox operations (endpoint/info/metrics/renew/pause/resume/kill); use interpreter.sandbox instead.

New Features

  • Code context management

    • Added: create_context, get_context, list_contexts, delete_context, delete_contexts(language).
  • Language-aware run convenience

    • run(..., language="python") is supported; if context is omitted, uses the server-side default context for that language.
    • Validates that language matches context.language when both are provided.

Don't miss a new OpenSandbox release

NewReleases is sending notifications on new releases.