-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (55 loc) · 1.27 KB
/
pyproject.toml
File metadata and controls
63 lines (55 loc) · 1.27 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
[build-system]
requires = ["hatchling>=1.25.0"]
build-backend = "hatchling.build"
[project]
name = "deepfetch"
version = "0.1.0"
description = "Local-first MCP server for semantic internet search using Kagi and Scrapfly."
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { text = "Apache-2.0" }
authors = [
{ name = "DeepFetch" },
]
dependencies = [
"mcp>=1.2.0,<2.0.0",
"numpy>=1.26.0,<3.0.0",
"onnxruntime>=1.17.0,<2.0.0",
"pypdf>=6.7.5,<7.0.0",
"structlog>=24.1.0,<26.0.0",
"tokenizers>=0.15.0,<1.0.0",
]
[project.optional-dependencies]
dev = [
"black>=24.4.0,<25.0.0",
"pre-commit>=3.7.0,<5.0.0",
"pytest>=8.2.0,<9.0.0",
"pytest-cov>=6.0.0,<7.0.0",
]
onnx-build = [
"onnx>=1.16.0,<2.0.0",
"onnxscript>=0.3.0,<1.0.0",
"torch>=2.2.0,<3.0.0",
"transformers>=4.41.0,<5.0.0",
]
[project.scripts]
deepfetch = "deepfetch.server:run"
[tool.hatch.build.targets.wheel]
packages = ["src/deepfetch"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integration: exercises the Dockerized MCP server end to end",
]
[tool.black]
line-length = 88
target-version = ["py310"]
[tool.coverage.run]
source = ["deepfetch"]
[tool.coverage.report]
fail_under = 90
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]