forked from mem0ai/mem0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 1.24 KB
/
pyproject.toml
File metadata and controls
75 lines (68 loc) · 1.24 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mem0ai"
version = "0.1.102"
description = "Long-term memory for AI Agents"
authors = [
{ name = "Mem0", email = "founders@mem0.ai" }
]
readme = "README.md"
requires-python = ">=3.9,<4.0"
dependencies = [
"qdrant-client>=1.9.1",
"pydantic>=2.7.3",
"openai>=1.33.0",
"posthog>=3.5.0",
"pytz>=2024.1",
"sqlalchemy>=2.0.31",
]
[project.optional-dependencies]
graph = [
"langchain-neo4j>=0.4.0",
"neo4j>=5.23.1",
"rank-bm25>=0.2.2",
]
test = [
"pytest>=8.2.2",
"pytest-mock>=3.14.0",
"pytest-asyncio>=0.23.7",
]
dev = [
"ruff>=0.6.5",
"isort>=5.13.2",
"pytest>=8.2.2",
]
[tool.hatch.build]
include = [
"mem0/**/*.py",
]
exclude = [
"**/*",
"!mem0/**/*.py",
]
[tool.hatch.build.targets.wheel]
packages = ["mem0"]
only-include = ["mem0"]
[tool.hatch.build.targets.wheel.shared-data]
"README.md" = "README.md"
[tool.hatch.envs.default.scripts]
format = [
"ruff format",
]
format-check = [
"ruff format --check",
]
lint = [
"ruff check",
]
lint-fix = [
"ruff check --fix",
]
test = [
"pytest tests/ {args}",
]
[tool.ruff]
line-length = 120
exclude = ["embedchain/", "openmemory/"]