-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
149 lines (128 loc) · 3.33 KB
/
Copy pathpyproject.toml
File metadata and controls
149 lines (128 loc) · 3.33 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "adk-redis"
version = "0.0.10"
description = "Redis integrations for Google's Agent Development Kit (ADK)"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "Redis Applied AI", email = "applied.ai@redis.com" },
]
keywords = [
"redis",
"adk",
"agent",
"llm",
"vector-search",
"memory",
"sessions",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"google-adk>=1.0.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
# Redis Agent Memory integrations (long-term memory + working memory sessions)
memory = [
"agent-memory-client>=0.14.0",
"redis-agent-memory>=0.2.0",
]
# RedisVL-based search tools
search = [
"redisvl>=0.18.2",
]
# LangCache (managed semantic cache service)
langcache = [
"redisvl>=0.18.2",
"langcache",
]
# SQL-to-Redis search tool (RedisSQLSearchTool)
sql = [
"redisvl[sql-redis]>=0.18.2",
]
# Example runner dependencies
examples = [
"python-dotenv",
]
# Docs build (mkdocs + plugins used in mkdocs.yml)
docs = [
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.27",
"mkdocs-llmstxt>=0.5",
"mkdocs-section-index>=0.3",
"mkdocs-autorefs>=1.2",
]
# All Redis integrations
all = [
"adk-redis[memory,search,langcache,sql]",
]
# Development dependencies
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.0.0",
"mypy>=1.8.0",
"ruff>=0.3.0",
"pyink>=24.3.0",
"isort>=5.13.0",
"pre-commit>=3.6.0",
"fakeredis>=2.20.0",
]
[project.urls]
Homepage = "https://github.com/redis-developer/adk-redis"
Documentation = "https://redis.io/docs/latest/integrate/google-adk/"
Repository = "https://github.com/redis-developer/adk-redis"
Issues = "https://github.com/redis-developer/adk-redis/issues"
Changelog = "https://github.com/redis-developer/adk-redis/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.sdist]
include = [
"/src",
]
[tool.hatch.build.targets.wheel]
packages = ["src/adk_redis"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.10"
strict = true
disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"]
plugins = ["pydantic.mypy"]
[tool.pyink]
line-length = 80
target-version = ["py310", "py311", "py312"]
pyink-indentation = 2
pyink-use-majority-quotes = true
[tool.isort]
profile = "google"
line_length = 80
force_single_line = true
single_line_exclusions = ["typing"]
skip_glob = ["*/__init__.py"]
# Prevent isort from using line continuations that conflict with pyink
use_parentheses = true
include_trailing_comma = true
multi_line_output = 3
[tool.ruff]
line-length = 80
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["E501", "E111", "E114", "E117"]