-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
142 lines (123 loc) · 3.34 KB
/
pyproject.toml
File metadata and controls
142 lines (123 loc) · 3.34 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
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/deepset_mcp"]
[project]
name = "deepset-mcp"
dynamic = ["version"]
description = "Collection of MCP tools and Agents to work with the deepset AI platform. Create, debug or learn about pipelines on the platform. Useable from the CLI, Cursor, Claude Code, or other MCP clients."
license = "Apache-2.0"
readme = "README.md"
authors = [
{ name = "Mathis Lucka", email = "mathis.lucka@deepset.ai" },
{ name = "Tanay Soni", email = "tanay.soni@deepset.ai" }
]
keywords = [
"MCP",
"Agents",
"LLM",
"deepset",
"Haystack",
"pipelines",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: Freely Distributable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.11"
dependencies = [
"fastapi",
"mcp>=1.10.1",
"httpx",
"pydantic>=2.0.0",
"pyyaml",
"numpy",
"model2vec",
"glom",
"rich",
"pyjwt[crypto]",
"typer",
"orjson",
]
[project.urls]
Homepage = "https://deepset.ai"
[project.scripts]
deepset-mcp = "deepset_mcp.main:app"
[dependency-groups]
dev = [
"pytest",
"pytest-asyncio",
"python-dotenv",
"docker",
"ruff",
"mypy",
"types-PyYAML",
"types-redis",
"pandas-stubs",
"redis>=4.0.0",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
]
[project.optional-dependencies]
redis = ["redis>=4.0.0"]
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
bump = true
[tool.pytest.ini_options]
testpaths = ["test"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"integration: marks tests that interact with external resources (e.g. deepset API).",
"extra_slow: marks tests that take a long time to run (e.g. pipeline deployment)."
]
[tool.ruff]
line-length = 120
target-version = "py311"
include = ["pyproject.toml", "src/**/*.py", "test/**/*.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"D", # docstrings
]
ignore = [
"D100", # Ok to not have docstring for public modules
"D104", # Ok to not have docstring for public package
"D401", # First line of docstring in imperative mode
]
isort = { combine-as-imports = true, known-first-party = ["deepset_mcp"] }
[tool.ruff.lint.per-file-ignores]
"test/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = ["glom"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
# These tests intentionally test runtime decorator behavior that mypy cannot understand
module = ["test.unit.tokonomics.*"]
disable_error_code = ["arg-type", "attr-defined", "operator", "misc", "type-arg", "no-any-return", "assignment"]