solari-e2b-compat 0.2.7__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/PKG-INFO +1 -1
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/pyproject.toml +1 -1
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/__init__.py +1 -1
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_sandbox.py +3 -1
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/.gitignore +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/COMPAT.md +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/LICENSE +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/LICENSE-E2B +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/NOTICE +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/README.md +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_box.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_commands.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_config.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_filesystem.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_git.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_loop.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_redact.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_request.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_sync.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_template.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_vendor_user.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/_volume.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/__init__.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/charts.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/client.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/code_interpreter_async.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/code_interpreter_sync.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/constants.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/exceptions.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/models.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/exceptions.py +0 -0
- {solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/models.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: solari-e2b-compat
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: E2B-compatible Python interface (sandboxes and code interpreter) over Solari Sandboxes. Not affiliated with E2B.
|
|
5
5
|
Project-URL: Homepage, https://getsolari.com
|
|
6
6
|
Author: Solari
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "solari-e2b-compat"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.8"
|
|
8
8
|
description = "E2B-compatible Python interface (sandboxes and code interpreter) over Solari Sandboxes. Not affiliated with E2B."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -463,7 +463,9 @@ class AsyncSandbox:
|
|
|
463
463
|
metadata=stored_md or None,
|
|
464
464
|
# E2B's timeout is a lifetime; Solari's is a rolling idle window (COMPAT.md).
|
|
465
465
|
timeout_ms=int((timeout if timeout is not None else DEFAULT_TIMEOUT) * 1000),
|
|
466
|
-
|
|
466
|
+
# E2B's default when a sandbox times out is to KILL it; Solari's own default is to pause. The gateway applies its
|
|
467
|
+
# default only when no lifecycle is sent, so send E2B's (audit retest R3).
|
|
468
|
+
lifecycle=lifecycle_of(lifecycle) or {"onTimeout": "kill"},
|
|
467
469
|
volumes=volumes,
|
|
468
470
|
isolation="hardened" if hardened else None,
|
|
469
471
|
),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/constants.py
RENAMED
|
File without changes
|
{solari_e2b_compat-0.2.7 → solari_e2b_compat-0.2.8}/solari_e2b/code_interpreter/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|