@e2b/python-sdk@2.64.0
E2B released Python SDK v2.64.0 featuring resizable templates, custom shells in commands.run , OAuth token authentication via headers, and breaking format updates to e2b template list .
Why this signal matters
E2B Python SDK version 2.64.0 introduces several new features and breaking CLI adjustments: - Breaking Change (CLI) : e2b template list -f json now returns SDK TemplateInfo objects (e.g., templateId , buildId , names ) rather than raw API fields ( templateID , buildID , aliases , createdBy ). The CLI pretty table drops the deprecated 'Created by' column. - Resizable Templates : Users can define a template with max cpu count and specify a sandbox's cpu count upon creation. TemplateInfo adds max cpu count ( maxCpuCount ). - Custom Shell Execution : commands.run adds a shell parameter allowing execution via custom shells (e.g., '/bin/sh', '-c' ), retaining '/bin/bash', '-l', '-c' as the default. - OAuth Authentication : The API client now accepts Authorization bearer tokens and X-Team-ID headers inside api headers instead of relying exclusively on static API keys. - Template Management SDK Methods : Adds Template.list() / AsyncTemplate.list() returning paginators over TemplateInfo , and Template.delete() / AsyncTemplate.delete() returning False if not found. Sandbox.delete snapshot now delegates to this implementation and raises TemplateException on failure. - Dependency Updates : Updated @e2b/dockerfile-utils-python@0.1.2 .
Actionable summary
E2B Python SDK v2.64.0 introduces max cpu count for resizable templates, custom shell configuration in commands.run , OAuth bearer token auth support via api headers , new Template.list() and Template.delete() methods, and breaking output schema changes in e2b template list -f json .
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Update scripts parsing e2b template list -f json to handle the new TemplateInfo field casing and properties (e.g., templateId instead of templateID , names instead of aliases ).
- Switch custom command execution pipelines to use the new shell parameter if /bin/bash login shell is not desired.
- Update sandbox creation calls to use OAuth access tokens with X-Team-ID via api headers if replacing static API keys.
- Catch TemplateException when handling snapshot or template deletion errors in Python.