-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (75 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (75 loc) · 2.02 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
[project]
name = "pybrag"
dynamic = ["version"]
description = "Basic RAG"
readme = "README.md"
authors = [
{ name = "Arthur Lui", email = "alui@lanl.gov" }
]
requires-python = ">=3.12"
dependencies = [
# Webapp.
"gradio~=5.33.0",
"fastapi>=0.115.7,<0.116",
# langchain.
"langchain>=0.3.27,<0.4",
"langchain-chroma>=0.2.6",
"langchain-community>=0.3.29,<0.4",
"langchain-core>=0.3.31",
"langchain-litellm>=0.2.3,<0.3",
"langchain-ollama>=0.3.10,<0.4",
"langchain-openai>=0.3.35",
"langgraph>=0.6.6,<0.7",
# misc.
"docx2txt>=0.9",
"pydantic>=2.10.6,<3.0",
"pymupdf4llm>=0.0.17,<0.1",
"pypdf>=5.1.0,<6.0",
"typer>=0.19",
"unstructured>=0.18.15",
]
license = "MIT"
license-files = [ "LICENSE.md" ]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[project.urls]
Homepage = "https://github.com/lanl/brag"
Documentation = "https://lanl.github.io/brag"
Repository = "https://github.com/lanl/brag"
Issues = "https://github.com/lanl/brag/issues"
Changelog = "https://github.com/lanl/brag/blob/master/CHANGELOG.md"
[project.scripts]
brag = "brag:main"
[build-system]
requires = ["setuptools>=68.1,<80", "versioningit"]
build-backend = "setuptools.build_meta"
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.1"
[tool.ruff]
line-length = 80
preview = true
[tool.ruff.lint]
extend-select = ["I", "W505"] # D
pydocstyle.convention = "google"
pycodestyle.max-doc-length = 80
# Ignore test file documentation linting.
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["D"]
[dependency-groups]
dev = [
"bump-cli>=0.3.1",
"lark>=1.2.2",
"llama-index>=0.12.15",
"llama-index-embeddings-huggingface>=0.5.1",
"llama-index-llms-ollama>=0.5.0",
"notebook>=7.3.2",
"pre-commit>=4.3.0",
"pyinstaller>=6.16.0",
]