Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (61 loc) · 2.18 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (61 loc) · 2.18 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
[tool.poetry]
name = "diffmem"
version = "0.1.0"
description = "DiffMem: Differential Memory Backend - Git-based memory library for personal augmentation systems"
authors = ["Growth Kinetics <contact@growthkinetics.com>"]
homepage = "https://github.com/growthkinetics/diffmem"
repository = "https://github.com/growthkinetics/diffmem"
keywords = ["memory", "ai", "git", "differential", "personal-augmentation", "bm25", "search"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
packages = [{include = "diffmem", from = "src"}]
[tool.poetry.dependencies]
python = "^3.10"
# Core search and indexing
rank-bm25 = "^0.2.2"
# HTTP requests for OpenRouter API
requests = "^2.31.0"
# OpenAI client for OpenRouter compatibility
openai = "^1.0.0"
# Git operations
gitpython = "^3.1.40"
# Machine learning and semantic analysis
sentence-transformers = "^2.2.2"
scikit-learn = "^1.3.0"
numpy = "^1.24.0"
# FastAPI server dependencies (optional)
fastapi = {version = "^0.104.0", optional = true}
uvicorn = {version = "^0.24.0", optional = true, extras = ["standard"]}
pyjwt = {version = "^2.8.0", optional = true}
python-multipart = {version = "^0.0.6", optional = true}
httpx = {version = "^0.25.0", optional = true}
aiofiles = {version = "^23.2.0", optional = true}
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
black = "^23.0.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
mypy = "^1.5.0"
pre-commit = "^3.4.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.0"
mkdocs-material = "^9.2.0"
mkdocstrings = "^0.22.0"
[tool.poetry.extras]
server = ["fastapi", "uvicorn", "pyjwt", "python-multipart", "httpx", "aiofiles"]
[tool.poetry.scripts]
diffmem = "diffmem.cli:main"
diffmem-server = "diffmem.server:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"