-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (95 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
110 lines (95 loc) · 2.23 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
[project]
name = "openrtc"
dynamic = ["version"]
description = "Run multiple LiveKit voice agents in a single shared worker process."
readme = "README.md"
authors = [
{ name = "Mahimai Raja J", email = "hello@mahimai.dev" }
]
keywords = ["webrtc", "realtime", "audio", "openrtc", "livekit", "agents", "ai"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
]
license = "MIT"
requires-python = ">=3.11,<3.14"
dependencies = [
"livekit-agents[openai,silero,turn-detector]~=1.4",
]
[project.optional-dependencies]
cli = [
"rich>=13",
"typer>=0.12",
]
tui = [
"rich>=13",
"typer>=0.12",
"textual>=0.47,<2",
]
[project.urls]
Homepage = "https://github.com/mahimailabs/openrtc"
Repository = "https://github.com/mahimailabs/openrtc"
Issues = "https://github.com/mahimailabs/openrtc/issues"
[project.scripts]
openrtc = "openrtc.cli:main"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
root = "."
[tool.pyright]
typeCheckingMode = "off"
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"B",
"C4",
"UP",
]
ignore = [
"E501",
"B008",
"C901",
"W191",
]
[tool.ruff.lint.per-file-ignores]
"tests/conftest.py" = ["E402"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
markers = [
"integration: slower tests (e.g. isolated venv + pip install)",
]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"python-dotenv>=1.2.2",
"rich>=13",
"ruff>=0.15.6",
"textual>=0.47,<2",
"typer>=0.12",
]
[tool.hatch.build.targets.wheel]
packages = ["src/openrtc"]