-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (78 loc) · 2.57 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (78 loc) · 2.57 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
[project]
name = "bespokelabs-sandbox"
version = "0.1.3"
description = "OpenRouter for Sandboxes - Unified Python API for cloud sandbox providers"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
dependencies = [
"pydantic>=2.0",
]
authors = [
{ name = "Bespoke Labs" },
]
keywords = ["sandbox", "cloud", "daytona", "modal", "runpod", "e2b", "tensorlake", "docker", "ray", "safehouse", "bespokelabs"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.optional-dependencies]
daytona = ["daytona>=0.207.0"]
tensorlake = ["tensorlake>=0.1.0"]
modal = ["modal>=0.60.0"]
e2b = ["e2b-code-interpreter>=1.0.0"]
docker = ["docker>=7.0.0"]
ray = ["ray>=2.0.0"]
server = ["fastapi>=0.115.0", "uvicorn>=0.30.0"]
all = [
"daytona>=0.207.0",
"tensorlake>=0.1.0",
"modal>=0.60.0",
"e2b-code-interpreter>=1.0.0",
"docker>=7.0.0",
"ray>=2.0.0",
]
dev = [
"httpx>=0.27.0,<1",
"pyink==24.10.1",
"pytest>=8.0",
"ruff>=0.8.0",
]
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project.scripts]
bespokelabs-sandbox-api = "bespokelabs.sandbox.control_plane.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"bespokelabs.sandbox" = ["pricing.json"]
"bespokelabs.sandbox.control_plane" = ["static/*"]
[tool.ruff]
line-length = 80
[tool.pyink]
line-length = 80
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "D", "PLW1510", "PLW2901"]
# Pyink enforces the 80-column target where wrapping is safe. The Google guide
# permits exceptions for imports, URLs, and other content that cannot be split.
ignore = [
"D101", # Public classes need docstrings only when their use is non-obvious.
"D102", # Public methods need docstrings only when their use is non-obvious.
"D103", # Public functions need docstrings only when their use is non-obvious.
"D105", # Magic methods usually inherit the class contract.
"D107", # Constructors usually document arguments on the class.
"D203", # Google style has no blank line before class docstrings.
"D213", # Google style starts summaries on the opening line.
"E501",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D100", "D104"]
[tool.pytest.ini_options]
testpaths = ["tests"]