-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (148 loc) · 4.24 KB
/
Copy pathpyproject.toml
File metadata and controls
169 lines (148 loc) · 4.24 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[project]
name = "QuickApps"
version = "0.8.0"
description = "Configurable agentic application for DIAL"
readme = "README.md"
requires-python = ">=3.13,<3.14"
license = "Apache-2.0"
authors = [
{name = "EPAM Systems"}
]
dependencies = [
# Core framework & DI
"aidial-client (>=0.12.0,<0.13.0)", # DIAL API client
"aidial-sdk[telemetry]>=0.32.0,<0.33.0", # DIAL integration SDK
"pydantic>=2.12.4,<3.0.0", # Data validation
"pydantic-settings>=2.14.2,<3.0.0", # Settings management
"injector>=0.23.0,<0.24.0", # Dependency injection
"fastapi-injector>=0.9.0,<0.10.0", # FastAPI + injector integration
# Data processing & visualization
"pandas>=2.3.3,<3.0.0", # Data manipulation
"tabulate>=0.9.0,<0.10.0", # Table formatting
"plotly>=6.5.2,<7.0.0", # Data visualization
# MCP (Model Context Protocol)
"mcp>=1.28.1,<2.0.0", # MCP protocol support
"fastmcp>=3.4.0,<4.0.0", # High-level MCP server framework
# HTML & web content
"beautifulsoup4>=4.14.2,<5.0.0", # HTML parsing
"bs4>=0.0.2,<0.0.3", # BeautifulSoup4 meta-package
# Authentication & networking
"authlib>=1.6.12,<2.0.0", # OAuth / JWT authentication
"urllib3>=2.7.0,<3.0.0", # HTTP client library
# Utilities
"common>=0.1.2,<0.2.0", # Shared utilities
"pyyaml (>=6.0.2,<7.0.0)", # YAML parsing
]
homepage = "https://dialx.ai"
repository = "https://github.com/epam/ai-dial-quickapps-backend"
keywords = ["ai"]
[tool.poetry]
package-mode = false
requires-poetry = '>=2.0.0,<3.0.0'
[tool.poetry.group.dev.dependencies]
black = { version = "^26.3.1", extras = ["jupyter"] }
isort = "^5.13.2"
mypy = "^1.19.1"
types-requests = "^2.31.0.20240406"
pre-commit = "^3.8.0"
flake8 = "^7.3.0"
autoflake = "^2.3.1"
requests = "^2.32.0"
pyright = "^1.1.394"
pandas-stubs = "^3.0.0.260204"
types-authlib = "^1.6.8.20260215"
plotly-stubs = "^0.1.2"
types-pyyaml = ">=6.0.12"
[tool.poetry.group.test.dependencies]
pytest = "^9.0.2"
parameterized = "^0.9.0"
pytest-asyncio = "^1.3.0"
pytest-xdist = "^3.8.0"
pytest-cov = "^7.0.0"
pytest-env = "^1.6.0"
pytest-httpx = ">=0.35.0,<0.37.0"
[tool.poetry.group.integration]
optional = true
[tool.poetry.group.integration.dependencies]
pytest = "^9.0.2"
sentence-transformers = { version = "^5.6.0" }
pillow = "^12.2.0"
pytest-asyncio = "^1.3.0"
pytest-xdist = "^3.8.0"
pytest-cov = "^7.0.0"
pytest-env = "^1.6.0"
[tool.isort]
profile = "black"
line_length = 100
src_paths = ["src"]
extend_skip_glob = ["src/**/__init__.py"]
[tool.black]
line-length = 100
skip-string-normalization = true
target-version = ["py313"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''
[tool.pyright]
typeCheckingMode = "basic"
reportIncompatibleMethodOverride = "error"
reportUnusedVariable = "error"
exclude = [
".git",
".venv",
".nox",
"**/__pycache__",
"**/.pytest_cache"
]
[tool.autoflake]
ignore_init_module_imports = true
remove_all_unused_imports = true
in_place = true
recursive = true
quiet = true
exclude = [
'\.git',
'\.venv',
'\.nox',
'\.pytest_cache',
'__pycache__'
]
[tool.mypy]
plugins = ["pydantic.mypy"]
ignore_missing_imports = false
[[tool.mypy.overrides]]
module = ["aidial_sdk.*", "aidial_client.*"]
follow_untyped_imports = true
[tool.poetry.group.dev]
optional = true
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[tool.pytest.ini_options]
testpaths = ["src/tests"]
pythonpath = ["src"]
env_files = [".env"]
asyncio_default_fixture_loop_scope = "session"
addopts = "-ra"
markers = [
"integration: integration tests, that require LLM calls and cached LLM Tool calls (deselect with '-m \"not integration\"')",
"e2e: e2e tests, that require LLM calls without using cached responses (deselect with '-m \"not e2e\"')"
]
[tool.pytest_env]
env_files = [".env"]