Skip to content

Commit a41b61f

Browse files
e2b
1 parent df0dc34 commit a41b61f

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ dependencies = [
2020
"datasets==3.0.1",
2121
"modal>=0.66.26",
2222
"strenum>=0.4.15",
23+
"e2b-code-interpreter>=1.0.4",
24+
"python-dotenv>=1.0.1",
2325
]
2426
classifiers = [
2527
"License :: OSI Approved :: MIT License",

test_e2b.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from dotenv import load_dotenv
2+
load_dotenv()
3+
from e2b_code_interpreter import Sandbox
4+
5+
sb = Sandbox()
6+
sb.commands.run("pip install commit0")
7+
sb.commands.run("commit0 setup tinydb")
8+
import pdb; pdb.set_trace()
9+
k

uv.lock

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)