Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (66 loc) · 2.53 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (66 loc) · 2.53 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
[tool.poetry]
name = "diffmem"
version = "0.4.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", "agent-retrieval"]
classifiers = [
"Development Status :: 4 - Beta",
"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"}]
# ontologies/ lives at src/diffmem/ontologies/ and is included automatically
# by the packages directive above. No separate include directive needed.
[tool.poetry.dependencies]
python = "^3.10"
# HTTP requests for OpenRouter API
requests = "^2.31.0"
# OpenAI client for OpenRouter/Cerebras compatibility
openai = "^1.0.0"
# Git operations
gitpython = "^3.1.40"
# .env file loading (server.py calls load_dotenv() at startup)
python-dotenv = "^1.0.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}
hatchet-sdk = {version = "^1.33.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"]
hatchet = ["hatchet-sdk"]
[tool.poetry.scripts]
diffmem = "diffmem.cli:main"
diffmem-server = "diffmem.server:main"
diffmem-worker = "diffmem.executor.hatchet_worker:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
markers = [
"hatchet_live: run only against a live Hatchet Cloud account (requires HATCHET_CLIENT_TOKEN env var)",
]