-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
82 lines (72 loc) · 1.74 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
74
75
76
77
78
79
80
81
82
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "redel"
dynamic = ["version"]
authors = [
{ name = "Andrew Zhu", email = "[email protected]" },
]
description = "A toolkit for recursive delegation of LLMs"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
# https://pypi.org/classifiers/
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"kani>=1.1.0,<2.0.0",
"kani-ratelimits",
"pydantic>=2.0.0,<3.0.0",
"rapidfuzz>=3.9.0,<4.0.0",
]
[project.optional-dependencies]
all = [
"redel[bundled,web]"
]
bundled = [
"httpx>=0.23.0,<1.0.0",
"kani[openai,anthropic]",
"numpy>=1.26.0,<2.0.0",
"playwright>=1.43.0,<2.0.0",
"PyMuPDF>=1.24.3,<2.0.0",
"pymupdf4llm~=0.0.1",
"trafilatura>=1.9.0,<2.0.0",
"duckduckgo_search>=6.3.0,<7.0.0",
]
web = [
"fastapi>=0.110.0,<1.0.0",
"uvicorn~=0.23.2",
"websockets~=11.0.3",
]
[project.urls]
"Homepage" = "https://github.com/zhudotexe/redel"
"Bug Tracker" = "https://github.com/zhudotexe/redel/issues"
[tool.hatch]
version.path = "redel/_version.py"
[tool.hatch.build.targets.sdist]
exclude = [
"sandbox",
"viz",
]
[tool.hatch.build.targets.wheel]
artifacts = [
"redel/server/viz_dist",
]
[tool.black]
line-length = 120
preview = true
[tool.isort]
profile = "black"
skip_gitignore = true
line_length = 120
# I am bound by pycharm's import autosorting rules
no_lines_before = "LOCALFOLDER"
reverse_relative = true
combine_as_imports = true
order_by_type = false