-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (114 loc) · 4.07 KB
/
Copy pathpyproject.toml
File metadata and controls
122 lines (114 loc) · 4.07 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "engraphis"
version = "0.9.5"
description = "Local-first AI memory engine for agents — Ebbinghaus decay, interaction-aware recall, bi-temporal facts, hybrid retrieval, and an MCP server. You bring the LLM."
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.9"
authors = [{ name = "The Engraphis Authors" }]
keywords = ["ai", "agents", "memory", "mcp", "rag", "vector-search", "llm", "retrieval"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"numpy>=1.24",
]
[project.optional-dependencies]
# The REST server + real embeddings (the full self-hosted stack).
server = [
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"httpx>=0.25",
"pydantic>=2.0",
"python-dotenv>=1.0",
"sentence-transformers>=2.7",
]
# The MCP server — plug Engraphis into Claude Code, Cursor, Cline, Zed, etc.
mcp = [
"mcp>=1.2.0",
"pydantic>=2.0",
"sentence-transformers>=2.7",
]
# Code-symbol graph indexing. Optional: index_repo()/search_code()
# fall back to a dependency-free regex indexer without this — see backends/codegraph.py.
code = [
"tree-sitter>=0.23",
"tree-sitter-language-pack>=0.2",
]
# Encryption at rest for the memory database (SQLCipher / AES-256). Opt-in: set
# ENGRAPHIS_DB_KEY (or ENGRAPHIS_DB_KEY_FILE). Without this the DB is plaintext.
encryption = [
"sqlcipher3-binary>=0.5.0",
]
# Everything, for a full self-hosted install.
all = [
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"httpx>=0.25",
"pydantic>=2.0",
"python-dotenv>=1.0",
"sentence-transformers>=2.7",
"mcp>=1.2.0",
"tree-sitter>=0.23",
"tree-sitter-language-pack>=0.2",
"sqlcipher3-binary>=0.5.0",
]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "ruff>=0.4"]
# Everything needed to run the FULL offline gate in CI (lint + all extras-gated tests)
# WITHOUT pulling torch/sentence-transformers — no test needs the real embedder.
test = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"ruff>=0.4",
"fastapi>=0.110",
"httpx>=0.25",
"mcp>=1.2.0",
"tree-sitter>=0.23",
"tree-sitter-language-pack>=0.2",
"sqlcipher3-binary>=0.5.0",
]
[project.urls]
Homepage = "https://github.com/Coding-Dev-Tools/engraphis"
Repository = "https://github.com/Coding-Dev-Tools/engraphis"
Issues = "https://github.com/Coding-Dev-Tools/engraphis/issues"
[project.scripts]
engraphis-server = "scripts.start_server:main"
engraphis-cli = "scripts.cli:main"
engraphis-mcp = "engraphis.mcp_server:main"
engraphis-inspector = "scripts.inspector:main"
engraphis-dashboard = "scripts.start_dashboard:main"
engraphis-consolidate = "scripts.consolidate:main"
engraphis-init = "scripts.init:main"
engraphis-update = "scripts.update:main"
[tool.setuptools.packages.find]
include = ["engraphis*", "scripts*"]
[tool.setuptools.package-data]
"engraphis.inspector" = ["index.html"]
# Recursive glob so the vendored assets under static/vendor/ ship too, not just the
# top-level files. Requires engraphis/static/__init__.py so the dir is a discovered
# package — without it these data rules match nothing and index.html is left out of
# the wheel (dashboard 500s with "index.html does not exist").
"engraphis.static" = ["**/*"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
filterwarnings = [
# Third-party (Starlette's TestClient), not our code and not fixable without a
# dependency bump — silence just this one message so the suite output stays clean.
"ignore:Using `httpx` with `starlette.testclient` is deprecated",
]