-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (89 loc) · 2.12 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (89 loc) · 2.12 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "raglite-sqlite"
version = "0.2.0"
description = "Local-first RAG toolkit backed by a single SQLite database"
readme = "README.md"
authors = [{ name = "RagLite Contributors" }]
license = { file = "LICENSE" }
requires-python = ">=3.10"
keywords = [
"rag",
"retrieval-augmented-generation",
"sqlite",
"search",
"llm",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"typer>=0.9.0",
"readability-lxml>=0.8.1",
"beautifulsoup4>=4.12.0",
"pypdf>=4.0.0",
"sentence-transformers>=2.5.0",
]
[project.optional-dependencies]
server = [
"fastapi>=0.110.0",
"uvicorn>=0.29.0",
]
ocr = [
"pytesseract>=0.3.10",
"Pillow>=10.0.0",
]
rerank = [
"sentence-transformers>=2.5.0",
]
dev = [
"build>=1.2.1",
"pytest>=8.1.0",
"pytest-cov>=4.1.0",
"mypy>=1.8.0",
"ruff>=0.4.0",
"black>=24.4.0",
"isort>=5.13.2",
"pre-commit>=3.6.0",
"twine>=5.1.1",
]
[project.urls]
Homepage = "https://github.com/mmprotest/raglite-sqlite"
Repository = "https://github.com/mmprotest/raglite-sqlite"
[project.scripts]
raglite = "raglite.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.package-data]
raglite = ["schema.sql", "data/eval_set.jsonl", "data/mini_corpus/*"]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.isort]
profile = "black"
known_first_party = ["raglite"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
[tool.mypy]
python_version = "3.10"
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
ignore_missing_imports = true
mypy_path = ["src"]