forked from opensearch-project/opensearch-agent-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (69 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
77 lines (69 loc) · 1.68 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "opensearch-agent-server"
version = "0.1.0"
description = "OpenSearch Agent Server for OpenSearch Dashboards — multi-agent orchestrator with page-context routing"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.12"
dependencies = [
"opensearch-py",
"mcp",
"strands-agents[ollama,otel]",
"openinference-instrumentation-bedrock",
"python-dotenv",
"opensearch-mcp-server-py",
"ag-ui-protocol",
"fastapi",
"sse-starlette",
"uvicorn",
"jsonpatch>=1.33",
"slowapi",
"pydantic-settings>=2.0.0",
"pyyaml>=6.0",
"PyJWT>=2.8.0",
"sqlalchemy>=2.0.0",
"aiosqlite",
"ag-ui-strands>=0.1.1",
]
[project.optional-dependencies]
dev = [
"ruff>=0.14.5",
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-httpx>=0.27.0",
"httpx>=0.25.0",
"pytest-cov>=4.1.0",
"pytest-timeout>=2.3.0",
"mypy>=1.0.0",
]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py312"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
extend-select = ["I", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
pythonpath = ["src", "tests"]
markers = [
"unit: unit tests",
"integration: integration tests",
]
[tool.hatch.build.targets.wheel]
packages = ["src/server", "src/orchestrator", "src/agents", "src/utils", "src/tools"]
[tool.hatch.build.sources]
"src/server" = "server"
"src/orchestrator" = "orchestrator"
"src/agents" = "agents"
"src/utils" = "utils"
"src/tools" = "tools"