-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
196 lines (178 loc) · 4.52 KB
/
pyproject.toml
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "langchain-cratedb"
version = "0.0.0"
description = "Use LangChain with CrateDB"
authors = []
readme = "README.md"
repository = "https://github.com/crate/langchain-cratedb"
license = "MIT"
keywords = [
"ai",
"artificial intelligence",
"cratedb",
"embedding vectors",
"fulltext search",
"langchain",
"llm",
"machine learning",
"ml",
"rag",
"semantic search",
"vdbms",
"vector embeddings",
"vector database",
"vector search",
"vector store",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Environment :: Plugins",
"Environment :: Web Environment",
"Intended Audience :: Customer Service",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: ML",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Communications",
"Topic :: Database",
"Topic :: Documentation",
"Topic :: Education :: Computer Aided Instruction (CAI)",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Printing",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Pre-processors",
"Topic :: System :: Archiving",
"Topic :: Text Processing",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Indexing",
"Topic :: Text Processing :: Linguistic",
"Topic :: Utilities",
]
[tool.mypy]
disallow_untyped_defs = "True"
ignore_missing_imports = "True"
install_types = true
non_interactive = true
pretty = true
[tool.poetry.urls]
"Source Code" = "https://github.com/crate/langchain-cratedb"
"Release Notes" = "https://github.com/crate/langchain-cratedb/releases"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-community = "<0.4"
langchain-core = "<0.4"
langchain-postgres = "==0.0.12"
sqlalchemy-cratedb = ">=0.40.1"
[tool.ruff.lint]
select = [
# Builtins
"A",
# Bugbear
"B",
# comprehensions
"C4",
# Pycodestyle
"E",
# eradicate
"ERA",
# Pyflakes
"F",
# isort
"I",
# pandas-vet
"PD",
# return
"RET",
# Bandit
"S",
# print
"T20",
"W",
# flake8-2020
"YTT",
]
[tool.ruff.lint.per-file-ignores]
"docs/*.ipynb" = [
"F401",
"F821",
"T201",
"ERA001", # Found commented-out code
]
"examples/*.py" = [
"F401",
"F821",
"T20", # `print` found.
]
"tests/*" = ["S101"] # Use of `assert` detected
".github/scripts/*" = ["S101"] # Use of `assert` detected
[tool.coverage.run]
omit = [
"langchain_cratedb/retrievers.py",
"tests/*",
]
[tool.pytest.ini_options]
addopts = """
--strict-markers --strict-config --durations=5
--cov --cov-report=term-missing --cov-report=xml
"""
markers = [
]
asyncio_mode = "auto"
log_level = "DEBUG"
log_cli_level = "DEBUG"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.codespell]
optional = true
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
[tool.poetry.group.test.dependencies]
langchain-openai = "<0.3"
langchain-tests = "==0.3.7"
notebook = "<7.4"
pytest = "<9"
pytest-asyncio = "<0.26"
pytest-cov = "<7"
pytest-mock = "<4"
pytest-rerunfailures = "<16"
pytest-socket = "<0.8"
pytest-watcher = "<0.5"
requests = "<3"
sqlparse = "<0.6"
testbook = "<0.5"
[tool.poetry.group.codespell.dependencies]
codespell = "<2.4"
[tool.poetry.group.lint.dependencies]
ruff = "<0.9"
[tool.poetry.group.typing.dependencies]
mypy = "<1.15"