-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (85 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
94 lines (85 loc) · 2.04 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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "visorag"
version = "0.1.0"
description = "Vision-first document RAG with ColQwen2, Qwen2.5-VL, Qdrant, and FastAPI."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Ross Dmello" }]
keywords = [
"vision-rag",
"multimodal-rag",
"document-ai",
"pdf-extraction",
"qwen2-vl",
"colqwen2",
"qdrant",
"fastapi",
"rag",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"fastapi>=0.111",
"httpx>=0.27",
"pillow>=10.0",
"python-multipart>=0.0.9",
"uvicorn[standard]>=0.30",
]
[project.optional-dependencies]
gpu = [
"accelerate>=0.26.0",
"bitsandbytes>=0.43.0",
"colpali-engine==0.3.10",
"numpy>=1.26",
"PyMuPDF==1.24.10",
"python-docx>=1.0",
"qdrant-client==1.18.0",
"qwen-vl-utils>=0.0.8",
"torch",
"torchvision",
"transformers>=4.49.0",
]
dev = [
"nbformat>=5.10",
"pytest>=8.2",
"pytest-cov>=5.0",
"ruff>=0.5",
]
[project.urls]
Homepage = "https://github.com/RossDmello2/visorag"
Repository = "https://github.com/RossDmello2/visorag"
Issues = "https://github.com/RossDmello2/visorag/issues"
[project.scripts]
visorag = "visorag.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/visorag"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
markers = [
"gpu: tests that require a CUDA GPU and real model downloads",
]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src", "tests", "scripts"]
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["B008"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"