forked from EverMind-AI/EverMemOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
173 lines (159 loc) · 3.76 KB
/
pyproject.toml
File metadata and controls
173 lines (159 loc) · 3.76 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
[project]
name = "memsys"
version = "0.1.0"
description = "Memory System with Dynamic and Static Memory Management"
license = {text = "Apache-2.0"}
requires-python = ">=3.12,<3.13"
dependencies = [
# Core Dependencies
"langgraph>=0.2.6",
"langgraph-api",
"langgraph-cli",
"langgraph-sdk>=0.1.57",
"langgraph-checkpoint-postgres>=2.0.21",
"langchain>=0.3.26",
"langchain-core>=0.1.0",
"langchain-openai>=0.3.28",
"langchain-anthropic>=0.3.17",
"langchain-google-genai>=2.1.8",
"google-genai>=1.21.0",
# Data Processing
"numpy>=1.24.0",
"pandas>=2.0.0",
"scikit-learn>=1.3.0",
# OpenAI API
"openai>=1.0.0",
# Data Validation & Configuration
"pydantic[email]>=2.7.1",
"pydantic-settings>=2.0.0",
"python-dotenv>=1.0.1",
"pyyaml>=6.0.0",
# Web Framework & API
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"greenlet>=3.2.0",
# HTTP Client & File Processing
"aiohttp>=3.8.0",
"python-multipart>=0.0.6",
"aiofiles>=24.1.0",
# Message Queue
"aiokafka>=0.11.0",
# Authentication & Security
"python-jose[cryptography]>=3.3.0",
"passlib[bcrypt]>=1.7.4",
# Database & Cache
"redis>=5.0.0",
"sqlmodel>=0.0.19",
"asyncpg>=0.29.0",
"psycopg[binary,pool]>=3.1.0",
# MongoDB ODM - MongoDB Object Document Mapper
"beanie>=1.26.0", # Async MongoDB ODM based on Pydantic
"pymongo>=4.15.4", # Official MongoDB Python driver (Beanie's underlying dependency)
# Elasticsearch
"elasticsearch-dsl[async]>=8.17.1,<9",
# Milvus
"pymilvus~=2.5.0",
# Tokenization
"jieba==0.42.1",
# Graph Processing
"igraph>=0.10.0",
# Utilities
"tqdm>=4.65.0",
"arq>=0.26.0",
"python-snappy>=0.7.3",
"tzlocal>=5.3.0",
"rank-bm25>=0.2.2",
"duckdb>=1.4.0",
"import-parent-dir>=0.1.1",
"bs4>=0.0.2",
"html2text>=2025.4.15",
"certifi>=2025.10.5",
"aiolimiter>=1.2.1",
"nltk>=3.9.2",
"tiktoken>=0.12.0",
"prometheus-client>=0.20.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.black]
line-length = 88
target-version = ['py312']
exclude = '''
(
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| migrations
| __pycache__
)
'''
include = '\.pyi?$'
skip-string-normalization = true
skip-magic-trailing-comma = true
[tool.isort]
profile = "black"
line_length = 88
[tool.pytest.ini_options]
testpaths = ["tests", "unit_test"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[dependency-groups]
# Development dependencies - for local development
dev = [
"black>=25.1.0",
"ipdb>=0.13.13",
"isort>=6.0.1",
"pytest>=8.4.2",
"pytest-asyncio>=1.1.0",
"nest-asyncio",
"typer",
"pyinstrument",
"py-spy",
"pre-commit>=4.3.0",
]
cpu = [
]
gpu = [
]
# Full development environment - includes dev tools
dev-full = [
{include-group = "dev"},
{include-group = "cpu"},
]
# Production environment - GPU only
prod = [
{include-group = "gpu"},
]
# Evaluation framework dependencies
evaluation = [
# Terminal formatting and progress display
"rich>=13.0.0",
# HTTP request library (for online API calls)
"requests>=2.31.0",
]
# Evaluation + all online API clients (full testing environment)
evaluation-full = [
{include-group = "evaluation"},
# Online Memory Systems API clients
"mem0ai>=1.0.0", # Mem0
"zep-cloud>=2.0.0", # Zep
]
[project.scripts]
bootstrap = "src.bootstrap:main"
web = "src.run:main"
manage = "src.manage:cli"
[project.entry-points."memsys.addons"]
core = "src.addon"