-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
111 lines (97 loc) · 2.52 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["hatchling >= 1.13.0"]
build-backend = "hatchling.build"
[tool.hatch.build]
ignore-vcs = true
[tool.hatch.build.targets.wheel]
packages = ["src/recwizard"]
[project]
name = "recwizard"
description = "RecWizard: A Plug-n-Play Toolkit for Conversational Recommendation with Modular, Portable Models and Interactive User Interfaces"
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
authors = [
{ name = "Tanmay Laud", email = "tanmaylaud@gmail.com"},
{ name = "Zeyuan Zhang", email ="zez018@ucsd.edu"},
{ name = "Zihang He", email = "z6he@ucsd.edu"},
{ name = "Zhankui He", email = "zhh004@ucsd.edu"}
]
classifiers = [
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"transformers~=4.33.2",
"tokenizers~=0.13.3",
"datasets~=2.12.0",
"torch_geometric~=2.3.1",
"scikit_learn~=1.2.2",
"pandas~=2.0.0",
"pyarrow~=12.0.0",
"nltk~=3.8.1",
"openai~=1.1.1",
"h5py",
"loguru"
]
dynamic = ["version"]
[project.urls]
Homepage = "link to hompage"
Documentation = "link to documentation"
Repository = "link to repo"
[project.optional-dependencies]
all = [
"uvicorn[standard] >=0.12.0",
"streamlit",
"fastapi",
"matplotlib",
"plotly==5.17.0",
]
dev = [
"sphinx==5.3.0",
"m2r==0.3.1",
"sphinx-rtd-theme==1.0.0",
"pytest==7.4.3",
"pytest-mock==3.12.0"
]
[tool.hatch.version]
path = "src/recwizard/__init__.py"
[tool.mypy]
strict = true
[tool.pytest.ini_options]
addopts = [
"--strict-config",
"--strict-markers",
"--ignore=docs_src",
]
xfail_strict = true
junit_family = "xunit2"
filterwarnings = [
"error",
"default::ResourceWarning"
]
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.isort]
known-third-party = ["recwizard"]