-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (148 loc) · 3.54 KB
/
pyproject.toml
File metadata and controls
158 lines (148 loc) · 3.54 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
150
151
152
153
154
155
156
157
158
[project]
name = "redisvl"
# NOTE: This version value is automatically incremented by the release workflow - do not manually adjust it.
version = "0.16.0"
description = "Python client library and CLI for using Redis as a vector database"
authors = [{ name = "Redis Inc.", email = "applied.ai@redis.com" }]
requires-python = ">=3.9.2,<3.15"
readme = "README.md"
license = "MIT"
keywords = [
"ai",
"redis",
"redis-client",
"vector-database",
"vector-search",
]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"numpy>=1.26.0,<3",
"pyyaml>=5.4,<7.0",
"redis>=5.0,<8.0",
"pydantic>=2,<3",
"tenacity>=8.2.2",
"ml-dtypes>=0.4.0,<1.0.0",
"python-ulid>=3.0.0",
"jsonpath-ng>=1.5.0",
]
[project.optional-dependencies]
mcp = [
"fastmcp>=2.0.0 ; python_version >= '3.10'",
"pydantic-settings>=2.0",
]
mistralai = ["mistralai>=1.0.0"]
openai = ["openai>=1.1.0"]
nltk = ["nltk>=3.8.1,<4"]
cohere = ["cohere>=4.44"]
voyageai = ["voyageai>=0.2.2"]
sentence-transformers = ["sentence-transformers>=3.4.0,<4"]
langcache = ["langcache>=0.11.0"]
vertexai = [
"google-cloud-aiplatform>=1.26,<2.0.0",
"protobuf>=5.28.0,<6.0.0",
]
bedrock = [
"boto3>=1.36.0,<2",
"urllib3<2.2.0",
]
pillow = [
"pillow>=11.3.0",
]
sql-redis = [
"sql-redis>=0.3.0",
]
all = [
"mistralai>=1.0.0",
"openai>=1.1.0",
"nltk>=3.8.1,<4",
"cohere>=4.44",
"voyageai>=0.2.2",
"sentence-transformers>=3.4.0,<4",
"langcache>=0.11.0",
"google-cloud-aiplatform>=1.26,<2.0.0",
"protobuf>=5.28.0,<6.0.0",
"boto3>=1.36.0,<2",
"urllib3<2.2.0",
"pillow>=11.3.0",
"sql-redis>=0.3.0",
]
[project.urls]
Homepage = "https://github.com/redis/redis-vl-python"
Repository = "https://github.com/redis/redis-vl-python"
Documentation = "https://docs.redisvl.com"
[project.scripts]
rvl = "redisvl.cli.runner:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"black>=25.1.0,<26",
"isort>=5.6.4,<6",
"pylint>=3.1.0,<4",
"pytest>=8.1.1,<9",
"pytest-asyncio>=0.23.6,<0.24",
"pytest-xdist[psutil]>=3.6.1,<4",
"pre-commit>=4.1.0,<5",
"mypy>=1.11.0,<2",
"nbval>=0.11.0,<0.12",
"types-pyyaml",
"types-pyopenssl",
"testcontainers>=4.3.1,<5",
"cryptography>=44.0.1 ; python_version > '3.9.1'",
"codespell>=2.4.1,<3",
"langcache>=0.9.0",
]
docs = [
"sphinx>=4.4.0",
"sphinx-book-theme>=1.0.0",
"nbsphinx>=0.9.3,<0.10",
"jinja2>=3.1.3,<4",
"sphinx-copybutton>=0.5.2,<0.6",
"sphinx-favicon>=1.0.1,<2",
"sphinx-design>=0.5.0,<0.6",
"myst-nb>=1.1.0,<2",
]
[tool.uv]
default-groups = [
"dev",
"docs",
]
[tool.black]
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
exclude = '''
(
| \.egg
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build
| build
| dist
| setup.py
)
'''
[tool.pytest.ini_options]
log_cli = true
asyncio_mode = "auto"
filterwarnings = [
"ignore:get_async_redis_connection will become async in the next major release:DeprecationWarning",
]
[tool.mypy]
warn_unused_configs = true
ignore_missing_imports = true
exclude = ["env", "venv", ".venv"]
[[tool.mypy.overrides]]
module = ["mistralai", "mistralai.*"]
follow_imports = "skip"