E2B Python 实验项目,使用 uv 管理依赖。
这是一个使用 E2B SDK 的实验项目,演示如何创建和管理 Sandbox 环境。
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# 或使用 pip
pip install uvuv sync创建 .env 文件并添加 E2B API Key:
E2B_API_KEY=your_api_key_hereuv run main.py| Name | Name | Last commit date | ||
|---|---|---|---|---|
E2B Python 实验项目,使用 uv 管理依赖。
这是一个使用 E2B SDK 的实验项目,演示如何创建和管理 Sandbox 环境。
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# 或使用 pip
pip install uvuv sync创建 .env 文件并添加 E2B API Key:
E2B_API_KEY=your_api_key_hereuv run main.py