| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| @e2b_python-sdk@2.64.0 source code.tar.gz | 2026-11-13 | 2.7 MB | |
| @e2b_python-sdk@2.64.0 source code.zip | 2026-11-13 | 3.4 MB | |
| README.md | 2026-11-13 | 2.1 kB | |
| Totals: 3 Items | 6.1 MB | 0 | |
Minor Changes
- 6a976f3:
e2b template listande2b template deletenow use the SDK'sTemplate.list()andTemplate.delete().TemplateInfogainsmaxCpuCount(max_cpu_countin Python) for resizable templates.
Breaking: e2b template list -f json now prints the SDK's TemplateInfo objects (templateId, buildId, names, …) instead of the raw API response (templateID, buildID, aliases, createdBy, …), and the pretty table drops the Created by column (the API deprecated the creator's email).
- 1b3b2a4: Add
shelloption tocommands.runto run the command in a custom shell, e.g.shell: ['/bin/sh', '-c']runs/bin/sh -c <cmd>(default stays['/bin/bash', '-l', '-c']) - 6ee9a4b: Add resizable templates: build a template with
maxCpuCountand pick each sandbox'scpuCounton create.e2b template listshows aMax vCPUscolumn. - 106efea: The API client accepts an
Authorizationheader in place of an API key. Requests can now authenticate with an OAuth access token passed throughapiHeaders(JS) orapi_headers(Python), together with theX-Team-IDheader that selects the team:
ts
await Sandbox.create({
apiHeaders: { Authorization: `Bearer ${accessToken}`, 'X-Team-ID': teamId },
})
python
Sandbox.create(api_headers={"Authorization": f"Bearer {access_token}", "X-Team-ID": team_id})
- c513ae1: Add
Template.delete(nameOrId)(JS) andTemplate.delete(name_or_id)/AsyncTemplate.delete(name_or_id)(Python) to delete a template or snapshot; returnsfalsewhen it isn't found.Sandbox.deleteSnapshot/Sandbox.delete_snapshotnow share its implementation and raiseTemplateError/TemplateException(subclasses ofSandboxError/SandboxException) on failure - e50db00: Add
Template.list()returning aTemplatePaginator(AsyncTemplatePaginatorforAsyncTemplate) that pages through the project's templates asTemplateInfo, likeSandbox.list()andSecret.list().
Patch Changes
- Updated dependencies [aec4543]
- @e2b/dockerfile-utils-python@0.1.2