Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (83 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (83 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agent-sandbox-server"
dynamic = ["version"]
description = "Agent Sandbox Server SDK — container-side runtime service for Agent Sandbox templates"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "Anycodes" },
]
keywords = ["sandbox", "easy", "ai", "agent", "cloud", "e2b", "server"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
# The HTTP server itself is stdlib-only. ``websockets`` is needed only by the
# PTY terminal endpoint, which is enabled by default.
dependencies = [
"websockets>=12.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-cov>=4.0",
"ruff>=0.4",
"mypy>=1.0",
]
[project.scripts]
agent-sandbox-server = "agent_sandbox.server.__main__:main"
[project.urls]
Homepage = "https://github.com/alibaba-agent-sandbox/python-sdk"
Documentation = "https://github.com/alibaba-agent-sandbox/python-sdk/tree/main/docs"
Repository = "https://github.com/alibaba-agent-sandbox/python-sdk"
Issues = "https://github.com/alibaba-agent-sandbox/python-sdk/issues"
Changelog = "https://github.com/alibaba-agent-sandbox/python-sdk/blob/main/CHANGELOG.md"
[tool.hatch.version]
path = "src/agent_sandbox/server/_version.py"
# ``agent_sandbox`` is a shared namespace with the ``agent-sandbox`` (client) distribution: this
# distribution only ships ``agent_sandbox/server`` and deliberately has no
# ``agent_sandbox/__init__.py`` of its own.
[tool.hatch.build.targets.wheel]
packages = ["src/agent_sandbox"]
artifacts = ["py.typed"]
[tool.hatch.build.targets.sdist]
include = [
"src/agent_sandbox/",
"tests/",
"README.md",
"LICENSE",
"NOTICE",
"pyproject.toml",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"integration: marks tests requiring real API keys (deselect with '-m \"not integration\"')",
]
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "SIM", "TCH"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
namespace_packages = true
explicit_package_bases = true
mypy_path = "src"