-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (129 loc) · 3.38 KB
/
Copy pathpyproject.toml
File metadata and controls
139 lines (129 loc) · 3.38 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[project]
name = "getstream"
version = "4.1.0"
description = "GetStream Python SDK - Build scalable activity feeds, chat, and video calling applications"
authors = [
{ name = "sachaarbonel", email = "sacha.arbonel@hotmail.fr" },
{ name = "tbarbugli", email = "tbarbugli@gmail.com" },
]
requires-python = ">=3.10,<4.0.0"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"httpx>=0.28.1",
"pyjwt>=2.8.0,<3",
"dataclasses-json>=0.6.0,<0.7",
"marshmallow>=3.21.0,<4",
"python-dateutil>=2.8.2",
"pydantic-settings>=2.9.1",
"pydantic>=2.10.6",
"pyee>=13.0.0",
"ijson>=3.4.0",
"twirp",
"protobuf>=6.31.1",
]
[project.optional-dependencies]
openai-realtime = [
"openai[realtime]>=1.93.0",
]
webrtc = [
"aiortc>=1.14.0, <1.15.0",
"av>=14.2.0, <17",
"numpy>=2.2.6,<2.3 ; python_version < '3.14'",
"numpy>=2.3.2,<2.4 ; python_version >= '3.14'",
"soundfile>=0.13.1",
"scipy>=1.15.3,<1.16 ; python_version < '3.14'",
"scipy>=1.16.1,<1.17 ; python_version >= '3.14'",
"twirp",
"protobuf>=4.25.1",
"websockets>=15.0.1,<16",
"websocket-client>=1.8.0",
"python-dateutil>=2.8.2",
"structlog<24",
"numpy>=2.2.6",
"tenacity>=9.1.2",
"scipy>=1.15.3",
"aiohttp>=3.13.2,<4",
"ping3>=4.0.8",
"protobuf>=6.31.1",
"websockets>=15.0.1",
"websocket-client>=1.8.0",
]
telemetry = [
"opentelemetry-api>=1.26.0",
"opentelemetry-sdk>=1.26.0",
]
[dependency-groups]
dev = [
"click>=8.1.0",
"python-dateutil>=2.8.2,<3",
"python-dotenv>=1.1.1,<2",
"pytest>=8.4.1",
"pytest-timeout>=2.4.0",
"ruff>=0.12.1",
"pre-commit>=4.2.0",
"pytest-asyncio>=1.0.0",
"grpcio-tools==1.76.0", # Pinned: controls protoc version for code generation
"mypy-protobuf==3.5.0", # Only for generate_webrtc.sh protobuf type stubs
"pytest-timeout>=2.3.1",
"hatch-vcs>=0.5.0",
"hatch>=1.14.2",
"opentelemetry-exporter-otlp>=1.37.0",
"opentelemetry-exporter-prometheus>=0.58b0",
"prometheus-client>=0.23.1",
"torch>=2.7.0", # Only for scripts/create_test_assets.py
"torchaudio>=2.7.0", # Only for scripts/create_test_assets.py
"pytest-httpserver>=1.1.5",
]
[tool.uv.workspace]
members = [
"examples/test",
]
exclude = [
"**/__pycache__",
"**/tests/__pycache__",
"**/*.pyc",
"**/dist/",
"**/*.egg-info/",
"**/.pytest_cache/",
"**/.ruff_cache/",
"examples/",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["getstream"]
exclude = [
"examples/**",
"protocol/**",
"scripts/**",
"tests/**",
]
[tool.hatch.build.targets.sdist]
exclude = [
"examples/**",
"protocol/**",
"scripts/**",
"tests/**",
]
[tool.ruff]
exclude = [
"getstream/video/rtc/pb",
".venv"
]
[tool.ruff.lint]
ignore = ["F405", "F403"]
[tool.ruff.lint.per-file-ignores]
# dataclasses_json resolves the generated string annotations at runtime, so these
# typing names are live even though they read as unused.
"getstream/models/__init__.py" = ["F401", "UP035"]
[tool.hatch.metadata]
allow-direct-references = true