render-lab-tasks-e2b
Twelve E2B sandbox lifecycle, execution, filesystem, logs, and metrics tasks.
Wrapped tasks and raw injectable implementations live in render_lab_tasks_e2b.tasks.
The root does not register tasks or read credentials.
Environment
E2B_API_KEY is required lazily. E2B_API_URL optionally overrides the control-plane
API and logs endpoint. The adapter defaults E2B_CONNECTION_RETRIES to 0 before
loading the SDK. If your application imports E2B independently, set that variable
to 0 before starting the process; the adapter rejects an SDK already initialized
with retries. The SDK versions are pinned because this setting is captured at import.
Behavior and verification
Create finds running or paused sandboxes by caller idempotency key. Pause, resume, and kill use the official async SDK. Task timeout fields stay in milliseconds and are converted to SDK seconds. Nonzero command exits return their exit code/output. Code, text, binary, and collection results use explicit limits. File metadata is checked before reading, then the stream is checked again and closed on overflow. No file is written onto the workflow host. Execution result text shares one budget, and the complete code result is capped at 4 MB. See ADR-0017 for stricter bounds.
Source fixtures compare all twelve tasks and SDK arguments independently with TS. Additional tests cover file growth and SDK retry configuration. Live sandbox tests remain pending an E2B account and disposable sandbox resources.
Installation
pip install render-lab-tasks-e2b==0.1.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file render_lab_tasks_e2b-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_e2b-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58744bba881b9f2a82c8631c214032a2659356404963c1de2f6deb9e16ad70c9
|
|
| MD5 |
9a0885c7121eca807b8b73c7ab902e9b
|
|
| BLAKE2b-256 |
ae011464e7f55fcaccffc54010ad230fe37d9fe09f3babea482c374d6a9328fa
|
Provenance
The following attestation bundles were made for render_lab_tasks_e2b-0.1.0.tar.gz:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_e2b-0.1.0.tar.gz -
Subject digest:
58744bba881b9f2a82c8631c214032a2659356404963c1de2f6deb9e16ad70c9 - Sigstore transparency entry: 2767871314
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file render_lab_tasks_e2b-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_e2b-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
030a8b9fa6b027b6bb02d629a2d469ff3a1a66f36ffe95e5022ce36335959e88
|
|
| MD5 |
1ed28ef9c5f8f2378514e02f986d0a5f
|
|
| BLAKE2b-256 |
9a7575fac73de77ac8c91435850e9cf0ace007b672db044ff753fb1b3c9879c8
|
Provenance
The following attestation bundles were made for render_lab_tasks_e2b-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_e2b-0.1.0-py3-none-any.whl -
Subject digest:
030a8b9fa6b027b6bb02d629a2d469ff3a1a66f36ffe95e5022ce36335959e88 - Sigstore transparency entry: 2767871339
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type: