-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (62 loc) · 1.65 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (62 loc) · 1.65 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
[project]
name = "pgkg"
version = "0.6.0"
description = "Postgres-native knowledge graph engine for agentic memory"
license = { text = "MIT" }
authors = [{ name = "ExaDev Ltd" }]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"asyncpg>=0.29",
"pgvector>=0.3",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"httpx>=0.27",
"numpy>=1.26",
"sentence-transformers>=3.0",
"openai>=1.30",
"anthropic>=0.28",
"tenacity>=8.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"testcontainers[postgres]>=4.0",
"pytest-mock>=3.14",
"pgserver>=0.1.4",
]
# Local experimentation via the Claude Pro/Max subscription (claude CLI bridge).
# Install with: uv sync --extra claude_agent
# NOT a hard dependency — only needed when PGKG_LLM_PROVIDER=claude_code.
claude_agent = [
# Package name: claude-agent-sdk (verify current version on PyPI)
"claude-agent-sdk>=0.1.0",
]
# Embedded Postgres via pgserver — no Docker required for local dev/testing.
# Install with: uv sync --extra embedded
# Bundles PostgreSQL 16.2 + pgvector in a pip wheel.
embedded = [
"pgserver>=0.1.4",
]
mcp = [
"mcp>=1.2",
]
documents = [
"markitdown[docx,pdf,pptx,xlsx]>=0.1",
]
[project.scripts]
pgkg = "pgkg.cli:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["pgkg*", "bench*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
asyncio_default_test_loop_scope = "session"
testpaths = ["tests"]