forked from MemoriLabs/Memori
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
171 lines (155 loc) · 4.35 KB
/
pyproject.toml
File metadata and controls
171 lines (155 loc) · 4.35 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
[build-system]
requires = ["setuptools>=60", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "memori"
version = "3.1.3"
description = "Memori Python SDK"
authors = [{name = "Memori Labs Team", email = "noc@memorilabs.ai"}]
license = {text = "Apache-2.0"}
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.10"
keywords = ["ai", "memory", "agents", "llm", "artificial-intelligence", "multi-agent"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Database :: Database Engines/Servers",
"Typing :: Typed",
]
dependencies = [
"aiohttp>=3.9.0",
"botocore>=1.34.0",
"faiss-cpu>=1.7.0",
"grpcio>=1.60.0",
"numpy>=1.24.0",
"protobuf>=4.25.0,<6.0.0",
"psycopg[binary]>=3.1.0",
"pyfiglet>=0.8.0",
"requests>=2.32.5",
"sentence-transformers>=3.0.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["memori*"]
exclude = ["tests*", "docs*", "*.egg-info"]
[tool.setuptools.package-data]
memori = ["py.typed", "models/**/*"]
[project.urls]
Homepage = "https://memorilabs.ai"
Documentation = "https://memorilabs.ai/docs/"
Repository = "https://github.com/MemoriLabs/Memori"
"Bug Tracker" = "https://github.com/MemoriLabs/Memori/issues"
"Changelog" = "https://github.com/MemoriLabs/Memori/blob/main/CHANGELOG.md"
"Contributing" = "https://github.com/MemoriLabs/Memori/blob/main/CONTRIBUTING.md"
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.per-file-ignores]
"memori/storage/__init__.py" = ["I001"] # Import order matters for adapter registration
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"asyncio: marks tests as async (deselect with '-m \"not asyncio\"')",
"benchmark: marks tests as performance benchmarks",
"integration: marks tests as integration tests requiring external API keys",
]
asyncio_mode = "auto"
addopts = [
"-v",
"--strict-markers",
"--ignore=tests/benchmarks",
"--ignore=tests/integration",
"-m",
"not benchmark",
"--cov=memori",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
"ignore::UserWarning:langsmith",
]
[tool.coverage.run]
source = ["memori"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ty.src]
exclude = [
"tests/llm/clients/**/*.py",
"**/__pycache__/**",
]
[tool.ty.environment]
python-version = "3.12"
[dependency-groups]
dev = [
"agno>=2.0.0",
"anthropic>=0.71.0",
"bandit>=1.8.0",
"google-genai>=1.46.0",
"langchain-community>=0.3.0",
"langchain-core>=1.0.1",
"langchain-google-genai>=3.0.0",
"langchain-google-vertexai>=2.0.0",
"langchain-openai>=1.0.1",
"openai>=2.6.0",
"oracledb>=3.0.0",
"pip-audit>=2.8.0",
"pre-commit>=4.0.0",
"psycopg2-binary>=2.9.0",
"psycopg[binary]>=3.1.0",
"pymongo>=4.15.3",
"pymysql>=1.1.2",
"pytest>=8.4.2",
"pytest-asyncio>=0.24.0",
"pytest-benchmark>=4.0.0",
"pytest-cov>=6.0.0",
"pytest-mock>=3.15.1",
"psutil>=5.9.0",
"requests>=2.32.5",
"ruff>=0.8.0",
"sqlalchemy>=2.0.44",
"sqlalchemy-cockroachdb>=1.4.0",
"xai-sdk>=1.3.1",
"langchain-aws>=0.2.0",
]