-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (92 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
106 lines (92 loc) · 2.7 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "distill-mcp"
version = "0.4.0"
description = "Privacy-first team memory MCP server — local LLM distillation before team sync"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [{ name = "Christian Pojoni", email = "christian.pojoni@gmail.com" }]
keywords = ["mcp", "memory", "privacy", "llm", "ollama", "claude", "team-knowledge"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"fastmcp>=1.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"lancedb>=0.18",
"httpx>=0.27",
"structlog>=25.5.0",
"detect-secrets>=1.5.0",
"aiohttp>=3.13.3",
]
[project.optional-dependencies]
postgres = ["asyncpg>=0.29", "pgvector>=0.3"]
gcp = ["google-auth>=2.0", "asyncpg>=0.29", "pgvector>=0.3"]
[project.urls]
Homepage = "https://github.com/5queezer/distill"
Documentation = "https://5queezer.github.io/distill/"
Repository = "https://github.com/5queezer/distill"
Issues = "https://github.com/5queezer/distill/issues"
[project.scripts]
distill = "distill_mcp.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["src/distill_mcp"]
artifacts = ["*.md"]
# --- Ruff ---
[tool.ruff]
src = ["src"]
line-length = 88
[tool.ruff.lint]
fixable = ["ALL"]
extend-select = ["B", "C4", "I", "PIE", "RUF", "SIM", "UP"]
ignore = [
"COM812", # trailing comma — conflicts with ruff format
"PLR0913", # too-many-arguments — MCP tools have wide signatures
"SIM102", # collapsible-if — sometimes clearer expanded
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I001"]
"tests/**" = ["S101", "PLR2004"]
[tool.ruff.lint.isort]
known-first-party = ["distill_mcp"]
# --- ty (Astral) ---
[tool.ty.environment]
python-version = "3.11"
# --- pytest ---
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=src/distill_mcp --cov-report=term-missing --cov-fail-under=80"
markers = [
"ollama: requires a running Ollama instance (skipped in CI)",
]
[tool.coverage.run]
branch = true
source = ["src/distill_mcp"]
[tool.coverage.report]
fail_under = 80
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=6.0",
"ruff>=0.15.6",
"pip-audit>=2.7",
"pytest-aiohttp>=1.1.0",
]