| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| @e2b_python-sdk@2.34.0 source code.tar.gz | 2026-07-17 | 1.7 MB | |
| @e2b_python-sdk@2.34.0 source code.zip | 2026-07-17 | 2.1 MB | |
| README.md | 2026-07-17 | 799 Bytes | |
| Totals: 3 Items | 3.8 MB | 0 | |
Minor Changes
- 95e4dc2: Add
sandbox.fork()/Sandbox.fork(sandbox_id)(and theAsyncSandboxequivalents) for forking a running sandbox. The sandbox is checkpointed in place (briefly paused, snapshotted with its full memory state, and resumed — its ID and expiration stay untouched) andcountnew sandboxes are created from that snapshot. Each fork succeeds or fails independently: the returned list contains one entry per requested fork, either a running sandbox instance or an exception. Per-fork error codes map to the same exception classes as other API errors (e.g. 429 toRateLimitException).
```python sandbox = Sandbox.create()
fork1, fork2 = sandbox.fork(count=2, timeout=60) if isinstance(fork1, Sandbox): fork1.commands.run('echo "hello from fork"') ```