-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
73 lines (67 loc) · 1.65 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
[tool.poetry]
name = "innohassle-search"
version = "0.1.0"
description = "Search service for InNoHassle ecosystem"
authors = ["Nikita <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "~3.11"
authlib = "^1.3.0"
beanie = "^1.26.0"
colorlog = "^6.8.2"
cryptography = "^43.0.1"
fastapi = "^0.115.0"
httpx = "^0.27.0"
minio = "^7.2.7"
motor = "^3.4.0"
pre-commit = "^3.6.2"
pydantic = "^2.7.4"
python-multipart = "^0.0.10"
pyyaml = "^6.0.1"
qdrant-client = "^1.10.1"
ruff = "^0.6.7"
types-pyyaml = "^6.0.12.20240311"
uvicorn = "^0.30.6"
[tool.poetry.group.compute.dependencies]
langchain = "^0.3.0"
mmh3 = "^5.0.0"
nltk = "^3.8.1"
pymupdf4llm = { url = "https://github.com/dantetemplar/pymupdf4llm/releases/download/0.1.3/pymupdf4llm-0.1.3-py3-none-any.whl" }
pystemmer = "^2.2.0.1"
qdrant-client = "^1.10.1"
sentence-transformers = "^3.0.1"
xformers = "^0.0.28"
[tool.pydantic-mypy]
# setup pydantic plugin
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
# ignore authlib types
[[tool.mypy.overrides]]
module = "authlib.jose.*"
ignore_missing_imports = true
# ignore retriv types
[[tool.mypy.overrides]]
module = "retriv.*"
ignore_missing_imports = true
# ignore pymupdf types
[[tool.mypy.overrides]]
module = "pymupdf.*"
ignore_missing_imports = true
# ignore pymupdf4llm types
[[tool.mypy.overrides]]
module = "pymupdf4llm.*"
ignore_missing_imports = true
[tool.ruff]
line-length = 120
lint.ignore = [
# wildcard imports are fine
"F403",
"F405",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"