-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 2.14 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (72 loc) · 2.14 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
[project]
name = "deeptrust-ai"
version = "0.0.1"
description = "QA and runtime nudges for voice agents, while the call is still happening."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [{ name = "DeepTrust", email = "engineering@deeptrust.ai" }]
keywords = [
"voice",
"agents",
"livekit",
"elevenlabs",
"vapi",
"observability",
"security",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = ["httpx>=0.27"]
[project.urls]
Homepage = "https://deeptrust.ai"
Source = "https://github.com/deeptrust-ai/deeptrust-python"
Issues = "https://github.com/deeptrust-ai/deeptrust-python/issues"
[project.optional-dependencies]
# Adapters are extras so the core client stays a single dependency. A customer
# integrating their own stack should not be made to install a platform SDK.
livekit = ["livekit-agents>=1.7"]
elevenlabs = ["websockets>=13"]
# No `vapi` extra: the adapter talks to VAPI over plain HTTP, and httpx is
# already the core dependency.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/deeptrust"]
[dependency-groups]
dev = [
# dev/server.py: a local stand-in for the API, so the client and both
# adapters can be run end to end with no key and no network.
"fastapi>=0.110",
"uvicorn>=0.30",
"pytest>=8",
"pytest-asyncio>=0.24",
"respx>=0.21",
"mypy>=1.11",
"ruff>=0.6",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
line-length = 90
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.11"
strict = true
files = ["src"]
# The adapters touch third-party objects whose types we do not control, and
# pinning ourselves to their internals would break on their next release.
[[tool.mypy.overrides]]
module = ["deeptrust.agents.livekit", "deeptrust.agents.elevenlabs"]
disallow_any_explicit = false
warn_return_any = false