-
Notifications
You must be signed in to change notification settings - Fork 170
Expand file tree
/
Copy pathpyproject.toml
More file actions
217 lines (201 loc) · 4.28 KB
/
pyproject.toml
File metadata and controls
217 lines (201 loc) · 4.28 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[tool.uv.workspace]
members = ["packages/client", "packages/server"]
[tool.uv.sources]
memmachine-server = { workspace = true }
memmachine-client = { workspace = true }
[project]
name = "memmachine"
version = "0.0.0" # Placeholder version for workspace root
dependencies = [
"alembic>=1.17.1",
"asyncpg>=0.31.0",
"aiosqlite>=0.20.0",
"boto3>=1.40.40",
"boto3-stubs==1.40.64",
"cohere>=5.20.0",
"coverage>=7.11.0",
"dotenv>=0.9.9",
"fastapi>=0.116.1",
"fastmcp>=2.14.0",
"instructor[bedrock]>=1.12.0",
"json-repair>=0.54",
"langchain-aws>=0.2.33",
"neo4j>=5.28.2",
"nltk>=3.9.1",
"openai>=2.21.0",
"pgvector>=0.4.1",
"prometheus-client>=0.22.1",
"pydantic>=2.11.7",
"pyyaml>=6.0.2",
"rank-bm25>=0.2.2",
"sqlalchemy>=2.0.43",
"uvicorn>=0.35.0",
"greenlet>=3.2.4",
"tzdata>=2024.1 ; sys_platform == 'win32'",
"psutil>=7.1.0",
"memmachine-server",
"memmachine-client",
]
requires-python = ">= 3.12"
authors = [
]
description = "MemMachine: Open-source long-term memory layer for AI agents and LLMs. Provides episodic memory, profile memory, and working memory to enable persistent, context-aware AI applications that learn and remember across sessions."
readme = "README.md"
keywords = [
"memmachine",
"ai-agents",
"llm-memory",
"long-term-memory",
"episodic-memory",
"agent-memory",
"ai-infrastructure",
"langchain",
"openai",
"anthropic",
"mcp",
"model-context-protocol",
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "Apache-2.0"
license-files = ["LICENSE"]
[project.optional-dependencies]
gpu = [
"sentence-transformers>=5.1.0",
]
[project.scripts]
memmachine-server = "memmachine.server.app:main"
memmachine-nltk-setup = "memmachine:setup_nltk"
memmachine-mcp-stdio = "memmachine.server.mcp_stdio:main"
memmachine-mcp-http = "memmachine.server.mcp_http:main"
memmachine-configure = "memmachine.installation.memmachine_configure:main"
[project.urls]
Homepage = "https://github.com/MemMachine/MemMachine"
Issues = "https://github.com/MemMachine/MemMachine/issues"
[dependency-groups]
dev = [
"complexipy>=4.2.0",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"ruff~=0.14.0",
"testcontainers[neo4j,postgres]>=4.13.1",
"ty~=0.0.14",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
]
[tool.ruff]
exclude = ["tools"]
[tool.ruff.lint]
select = [
"A",
"ANN",
"ARG",
"ASYNC",
"B",
"C4",
"C90",
"D",
"DTZ",
"E",
"F",
"FA",
"FAST",
"FURB",
"G",
"I",
"ICN",
"INP",
"INT",
"ISC",
"LOG",
"N",
"NPY",
"PERF",
"PIE",
"PLC",
"PT",
"PTH",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"SLF",
"SIM",
"T20",
"TID",
"TRY",
"UP",
"W",
"YTT",
]
ignore = [
"E501", "UP015", "TRY002", "PLC0415",
"D102", "D212", "D203", "RET504",
"TRY003",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["ANN", "D", "SLF", "ARG"]
"tools/**/*.py" = ["SIM", "DTZ", "C9", "ANN", "T201", "PT", "INP", "PTH", "D"]
"src/memmachine/common/api/spec.py" = ["UP017", "UP035"]
"src/memmachine/rest_client/client.py" = ["UP035"]
"examples/**" = [
"ANN",
"ASYNC210",
"T201",
"D",
"ARG",
"T201",
"TRY401",
"C901",
"TRY300",
"PTH",
]
"evaluation/**/*.py" = [
"D",
"ARG",
"T201",
"ANN",
"PTH123",
"PTH120",
"PTH110",
"PTH100",
"ASYNC230",
"RUF001",
"N806",
"B023",
"B007",
"TRY300",
"PERF401",
]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
asyncio_default_test_loop_scope = "session"
addopts = ["-m", "not integration"]
markers = [
"integration: mark the test as an integration test",
"slow: mark the test as slow"
]
[tool.complexipy]
paths = ["src", "tests"]
max-complexity-allowed = 10
quiet = false
ignore-complexity = false
details = "low"
color = "auto"
sort = "desc"
exclude = []
[tool.coverage.run]
source = [
"src/memmachine",
]
[tool.coverage.report]
sort = "cover"