-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (116 loc) · 2.98 KB
/
pyproject.toml
File metadata and controls
125 lines (116 loc) · 2.98 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Xmem"
version = "0.1.0"
description = "Universal unified memory system for AI agents"
authors = [
{name = "Vedant Mahajan", email = "xmemlabs@gmail.com"},
{name = "Ishaan Gupta", email = "xmemlabs@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
dependencies = [
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"pydantic>=2.6.0",
"pydantic-settings>=2.1.0",
"langchain>=0.1.0",
"langchain-core>=0.1.0",
"langchain-google-genai>=0.0.9",
"langchain-anthropic>=0.1.0",
"langchain-openai>=0.0.5",
"langchain-aws>=0.2.0",
"boto3>=1.34.0",
"langgraph>=0.0.10",
"pinecone>=3.0.0",
"google-genai>=1.2.0",
"pymongo>=4.6.0",
"neo4j>=5.14.0",
"python-dotenv>=1.0.0",
"httpx>=0.26.0",
"python-multipart>=0.0.9",
"numpy>=1.26.0",
"tree-sitter>=0.21.0",
"tree-sitter-typescript>=0.21.0",
"tree-sitter-javascript>=0.21.0",
"tree-sitter-go>=0.21.0",
"beautifulsoup4>=4.12.0",
"playwright>=1.42.0",
"python-jose[cryptography]>=3.3.0",
"google-auth>=2.27.0",
"google-auth-oauthlib>=1.2.0",
"sentry-sdk[fastapi]>=2.0.0",
"prometheus-client>=0.20.0",
]
[project.optional-dependencies]
local = [
"chromadb>=0.5.0",
"fastembed>=0.3.0",
"langchain-ollama>=0.1.0",
"psycopg[binary]>=3.1.18",
"pgvector>=0.2.5",
]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"mypy>=1.8.0",
"ruff>=0.2.0",
"black>=24.1.0",
"pre-commit>=3.6.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q --strict-markers"
testpaths = [
"tests",
]
python_files = ["test_*.py"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"unit: isolated tests for pure logic and deterministic components",
"integration: multi-module tests with mocked external services",
"e2e: full-flow tests using local fakes for external dependencies",
]
[tool.coverage.run]
omit = [
"src/api/app.py",
"src/api/routes/admin.py",
"src/api/routes/api_keys.py",
"src/api/routes/auth.py",
"src/api/routes/code.py",
"src/api/routes/enterprise.py",
"src/api/routes/memory.py",
"src/api/routes/memory_graph.py",
"src/api/routes/scanner.py",
"src/api/routes/telemetry.py",
"src/config/*",
"src/enterprise/memory_service.py",
"src/graph/*",
"src/installer/*",
"src/models/*",
"src/pipelines/code_retrieval.py",
"src/pipelines/ingest.py",
"src/prompts/*",
"src/scanner/*",
"src/scanner_v1/*",
"src/storage/pinecone.py",
"src/storage/team_annotation_store.py",
]
[tool.coverage.report]
show_missing = true
skip_covered = false