2026-04-04 18:16:04 -07:00
|
|
|
[project]
|
|
|
|
|
name = "mempalace"
|
2026-05-08 01:37:32 -03:00
|
|
|
version = "3.3.4"
|
2026-04-04 18:16:04 -07:00
|
|
|
description = "Give your AI a memory — mine projects and conversations into a searchable palace. No API key required."
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.9"
|
|
|
|
|
license = "MIT"
|
|
|
|
|
authors = [
|
|
|
|
|
{name = "milla-jovovich"},
|
|
|
|
|
]
|
|
|
|
|
keywords = [
|
|
|
|
|
"ai", "memory", "llm", "rag", "chromadb", "mcp",
|
|
|
|
|
"vector-database", "claude", "chatgpt", "embeddings",
|
|
|
|
|
]
|
|
|
|
|
classifiers = [
|
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
|
"Environment :: Console",
|
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
|
"Programming Language :: Python :: 3.12",
|
2026-04-10 14:41:52 -07:00
|
|
|
"Programming Language :: Python :: 3.13",
|
|
|
|
|
"Programming Language :: Python :: 3.14",
|
2026-04-04 18:16:04 -07:00
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
|
"Topic :: Utilities",
|
|
|
|
|
]
|
|
|
|
|
dependencies = [
|
2026-04-10 19:16:54 -07:00
|
|
|
"chromadb>=1.5.4,<2",
|
2026-04-09 08:06:30 -07:00
|
|
|
"pyyaml>=6.0,<7",
|
2026-04-24 00:27:09 -03:00
|
|
|
"tomli>=2.0.0; python_version < '3.11'",
|
2026-04-04 18:16:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.urls]
|
2026-04-14 08:56:57 +05:00
|
|
|
Homepage = "https://github.com/MemPalace/mempalace"
|
|
|
|
|
Repository = "https://github.com/MemPalace/mempalace"
|
|
|
|
|
"Bug Tracker" = "https://github.com/MemPalace/mempalace/issues"
|
2026-04-04 18:16:04 -07:00
|
|
|
|
|
|
|
|
[project.scripts]
|
2026-04-13 22:25:01 -03:00
|
|
|
mempalace = "mempalace.cli:main"
|
2026-04-09 06:39:44 +00:00
|
|
|
mempalace-mcp = "mempalace.mcp_server:main"
|
2026-04-04 18:16:04 -07:00
|
|
|
|
2026-04-18 12:45:16 -03:00
|
|
|
[project.entry-points."mempalace.backends"]
|
|
|
|
|
chroma = "mempalace.backends.chroma:ChromaBackend"
|
|
|
|
|
|
2026-04-18 16:05:32 -03:00
|
|
|
# RFC 002 source-adapter entry-point group. Core publishes no first-party
|
|
|
|
|
# adapters under this group yet; ``miner.py`` and ``convo_miner.py`` migrate
|
|
|
|
|
# onto ``BaseSourceAdapter`` in a follow-up PR. Third-party adapter packages
|
|
|
|
|
# (``mempalace-source-cursor``, ``mempalace-source-git``, …) register here.
|
|
|
|
|
[project.entry-points."mempalace.sources"]
|
|
|
|
|
|
2026-04-07 17:17:57 -03:00
|
|
|
[project.optional-dependencies]
|
2026-04-08 16:28:06 -03:00
|
|
|
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.4.0", "psutil>=5.9"]
|
2026-04-07 17:31:06 -03:00
|
|
|
spellcheck = ["autocorrect>=2.0"]
|
2026-04-24 19:42:35 -03:00
|
|
|
# Hardware acceleration for the ONNX embedding model. Install exactly one:
|
|
|
|
|
# pip install mempalace[gpu] — NVIDIA CUDA
|
|
|
|
|
# pip install mempalace[dml] — DirectML (Windows AMD/Intel/NVIDIA)
|
|
|
|
|
# pip install mempalace[coreml] — macOS Neural Engine
|
|
|
|
|
# After install, set MEMPALACE_EMBEDDING_DEVICE=cuda|dml|coreml (or "auto").
|
|
|
|
|
gpu = ["onnxruntime-gpu>=1.16"]
|
|
|
|
|
dml = ["onnxruntime-directml>=1.16"]
|
|
|
|
|
coreml = ["onnxruntime>=1.16"]
|
2026-04-07 17:17:57 -03:00
|
|
|
|
2026-04-07 17:07:02 -03:00
|
|
|
[dependency-groups]
|
2026-04-08 16:28:06 -03:00
|
|
|
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.4.0", "psutil>=5.9"]
|
2026-04-07 17:07:02 -03:00
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["mempalace"]
|
2026-04-04 18:16:04 -07:00
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
line-length = 100
|
|
|
|
|
target-version = "py39"
|
2026-04-09 23:29:26 -07:00
|
|
|
extend-exclude = ["benchmarks"]
|
2026-04-04 18:16:04 -07:00
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
2026-04-09 23:29:26 -07:00
|
|
|
select = ["E", "F", "W", "C901"]
|
2026-04-04 18:16:04 -07:00
|
|
|
ignore = ["E501"]
|
|
|
|
|
|
2026-04-09 23:29:26 -07:00
|
|
|
[tool.ruff.lint.mccabe]
|
|
|
|
|
max-complexity = 25
|
|
|
|
|
|
2026-04-04 18:16:04 -07:00
|
|
|
[tool.ruff.format]
|
|
|
|
|
quote-style = "double"
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|
2026-04-07 19:39:06 -03:00
|
|
|
pythonpath = ["."]
|
2026-04-08 10:56:39 -03:00
|
|
|
addopts = "-m 'not benchmark and not slow and not stress'"
|
2026-04-07 19:39:06 -03:00
|
|
|
markers = [
|
|
|
|
|
"benchmark: scale/performance benchmark tests",
|
|
|
|
|
"slow: tests that take more than 30 seconds",
|
|
|
|
|
"stress: destructive scale tests (100K+ drawers)",
|
|
|
|
|
]
|
2026-04-08 20:40:03 +03:00
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
|
source = ["mempalace"]
|
|
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
2026-04-08 21:38:12 +03:00
|
|
|
fail_under = 85
|
2026-04-08 20:40:03 +03:00
|
|
|
show_missing = true
|
|
|
|
|
exclude_lines = [
|
|
|
|
|
"if __name__",
|
|
|
|
|
"pragma: no cover",
|
|
|
|
|
]
|