-
Notifications
You must be signed in to change notification settings - Fork 980
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (67 loc) · 1.98 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (67 loc) · 1.98 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
[project]
name = "e2b"
version = "2.35.0"
description = "E2B SDK that give agents cloud environments"
authors = [{ name = "e2b", email = "hello@e2b.dev" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"python-dateutil>=2.8.2",
"wcmatch>=10.1,<11",
"protobuf-py>=0.1.1,<0.2",
"httpx>=0.27.0,<1.0.0",
"httpcore>=1.0.5,<2.0.0",
"h2>=4,<5",
"attrs>=23.2.0",
"packaging>=24.1",
"typing-extensions>=4.1.0",
"dockerfile-parse>=2.0.1,<3",
"rich>=14.0.0",
"connectrpc>=0.11.1,<0.12",
"pyqwest>=0.7.0,<0.8",
]
[project.urls]
Homepage = "https://e2b.dev/"
Repository = "https://github.com/e2b-dev/e2b/tree/main/packages/python-sdk"
"Bug Tracker" = "https://github.com/e2b-dev/e2b/issues"
[dependency-groups]
dev = [
"pytest>=9.0.3,<10",
"pytest-xdist>=3.3.1,<4",
"python-dotenv>=1.0.0,<2",
"pytest-dotenv>=0.5.2,<0.6",
"pytest-asyncio>=1.3.0,<2",
"ruff>=0.11.12,<0.12",
"pytest-timeout>=2.4.0,<3",
"ty>=0.0.15,<0.0.16",
]
# Tools for local code generation (`make init` && `uv run make generate-*`).
# Pins mirror codegen.Dockerfile so local output matches CI. `generate-api`
# additionally needs @redocly/cli on the PATH (pinned as a js-sdk
# devDependency and in codegen.Dockerfile — keep the versions in sync) and
# `generate-envd` needs `buf`.
codegen = [
"black==26.3.1",
"e2b-openapi-python-client==0.26.2",
"datamodel-code-generator==0.34.0",
"protoc-gen-connectrpc==0.11.1",
"protoc-gen-py==0.1.1",
]
[build-system]
requires = ["uv_build>=0.10.0,<0.11.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = ["e2b"]
module-root = ""
[tool.basedpyright]
reportInconsistentOverload = false
[tool.ty.rules]
invalid-overload = "ignore"
no-matching-overload = "ignore"
[[tool.ty.overrides]]
include = ["e2b/api/client/models/**"]
rules = { invalid-argument-type = "ignore" }
[[tool.ty.overrides]]
include = ["e2b/volume/**"]
rules = { unresolved-attribute = "ignore" }