forked from PierreExeter/textbook-AI-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.22 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (47 loc) · 1.22 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
[project]
name = "textbook-ai"
version = "0.1.0"
description = "Interactive AI tutor for textbooks — supports PDF and web sources with RAG"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"chromadb===1.5.9",
"llama-index-core>=0.12.0",
"llama-index-embeddings-huggingface>=0.5.0",
"llama-index-embeddings-openai>=0.3.0",
"llama-index-llms-openai-like>=0.3.0",
"llama-index-readers-docling>=0.3.0",
"llama-index-readers-web>=0.3.0",
"llama-index-vector-stores-chroma>=0.4.0",
"pyyaml>=6.0",
"chainlit>=2.0.0",
]
[project.scripts]
textbook-ai = "textbook_ai.cli:main"
[dependency-groups]
dev = [
"mkdocs-material>=9.6.0",
"pyright>=1.1.0",
"pytest>=8.0",
"ruff>=0.9.0",
]
[tool.ruff]
line-length = 120
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
[tool.ruff.lint.isort]
known-first-party = ["textbook_ai"]
[tool.pyright]
pythonVersion = "3.11"
venvPath = "."
venv = ".venv"
typeCheckingMode = "standard"
include = ["src"]
exclude = ["booktutor-ai", "docs", "config"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/textbook_ai"]