-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
171 lines (157 loc) · 4.54 KB
/
pyproject.toml
File metadata and controls
171 lines (157 loc) · 4.54 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
170
171
[project]
name = "superlocalmemory"
version = "3.4.39"
description = "Information-geometric agent memory with mathematical guarantees"
readme = "README.md"
license = {text = "AGPL-3.0-or-later"}
requires-python = ">=3.11,<3.15"
authors = [
{name = "Varun Pratap Bhardwaj", email = "admin@superlocalmemory.com"},
]
keywords = [
"ai-memory", "mcp-server", "local-first", "agent-memory",
"information-geometry", "privacy-first", "eu-ai-act",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx>=0.24.0",
"numpy>=1.26.0,<3.0.0",
"scipy>=1.12.0,<2.0.0",
"networkx>=3.0",
"mcp>=1.0.0",
"python-dateutil>=2.9.0.post0",
"rank-bm25>=0.2.2",
"vadersentiment>=3.3.2",
"einops>=0.8.2",
"fastapi[all]>=0.135.1",
"uvicorn>=0.42.0",
"websockets>=16.0",
"lightgbm>=4.0.0",
"diskcache>=5.6.0",
"orjson>=3.9.0",
# CodeGraph — code knowledge graph (v3.4)
"tree-sitter>=0.23.0,<1",
"tree-sitter-language-pack>=0.3,<2",
"rustworkx>=0.15,<1",
"watchdog>=4.0,<6",
# V3.4.3: Unified Brain
"psutil>=5.9.0",
"structlog>=24.0.0,<27.0.0",
# Cross-platform file locking for single-daemon enforcement.
"portalocker>=2.7.0,<4.0.0",
# V3.4.18: Semantic search + cross-encoder reranker (npm install parity).
# Previously under [search] extra — pip users silently lost 30pp of recall
# quality vs. npm users. Now ships by default for both install paths.
"sentence-transformers[onnx]>=5.0.0",
"torch>=2.2.0",
"scikit-learn>=1.3.0,<2.0.0",
]
[project.optional-dependencies]
# `search` is now a no-op alias kept for backwards compatibility; the deps
# moved into core in v3.4.18. ``pip install superlocalmemory[search]`` still
# works but installs nothing extra.
search = [
"sentence-transformers[onnx]>=5.0.0",
"einops>=0.8.2",
"torch>=2.2.0",
"scikit-learn>=1.3.0,<2.0.0",
"geoopt>=0.5.0",
"onnxruntime>=1.17.0",
]
ui = [
"fastapi[all]>=0.135.1",
"uvicorn>=0.42.0",
"python-multipart>=0.0.6,<1.0.0",
]
learning = [
"lightgbm>=4.0.0",
]
performance = [
"diskcache>=5.6.0",
"orjson>=3.9.0",
]
ingestion = [
"keyring>=25.0.0",
"google-auth-oauthlib>=1.2.0",
"google-api-python-client>=2.100.0",
"icalendar>=6.0.0",
]
full = [
"superlocalmemory[search,ui,learning,performance,ingestion]",
]
dev = [
"pytest>=8.0",
"pytest-cov>=4.1",
"sqlite-vec>=0.1.6",
]
[project.urls]
Homepage = "https://superlocalmemory.com"
Repository = "https://github.com/qualixar/superlocalmemory"
Documentation = "https://github.com/qualixar/superlocalmemory/wiki"
Issues = "https://github.com/qualixar/superlocalmemory/issues"
[project.scripts]
slm = "superlocalmemory.cli.main:main"
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
superlocalmemory = ["ui/**/*", "skills/**/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-m 'not slow and not ollama and not benchmark'"
markers = [
"slow: marks tests as slow — real engine/model loading (run with: pytest -m slow)",
"ollama: marks tests that require a running Ollama instance",
"benchmark: marks CI-only evo-memory benchmark tests (run with: pytest tests/test_benchmarks/ -m benchmark)",
]
filterwarnings = [
"ignore::DeprecationWarning:vaderSentiment",
]
[tool.coverage.run]
source = ["superlocalmemory"]
omit = [
"*/tests/*",
"*/ui/*",
"*/cli/*",
"*/__main__.py",
]
[tool.coverage.report]
fail_under = 0
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ ==",
"@overload",
]
[tool.coverage.html]
directory = "htmlcov"
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[dependency-groups]
dev = [
"build>=1.4.0",
"pytest>=9.0.2",
"twine>=6.2.0",
]