forked from NVIDIA/garak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
202 lines (194 loc) · 4.75 KB
/
pyproject.toml
File metadata and controls
202 lines (194 loc) · 4.75 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
[build-system]
requires = ["flit_core >=3.11,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "garak"
version = "0.14.1.pre1"
authors = [
{ name = "Leon Derczynski", email="lderczynski@nvidia.com" },
{ name = "Subho Majumdar", email="subho@vijil.ai" },
{ name = "nv052193" },
{ name = "Mads Kongsbak" },
{ name = "Erick Galinkin", email="egalinkin@nvidia.com" },
{ name = "Tianhao Li" },
{ name = "Phyllis Poh" },
{ name = "Razvan Dinu" },
{ name = "Zander Mackie" },
{ name = "Greg Stephens" },
{ name = "Jeffrey Martin", email="jemartin@nvidia.com" },
{ name = "Ahsan Ayub" },
{ name = "Jonathan Liberman" },
{ name = "Gustav Fredrikson" },
{ name = "Oh Tien Cheng" },
{ name = "Brain John" },
{ name = "Naman Mishra" },
{ name = "Soumili Nandi" },
{ name = "Arjun Krishna" },
{ name = "Mihailo Milenkovic" },
{ name = "Kai Greshake" },
{ name = "Martin Borup-Larsen" },
{ name = "Emmanuel Ferdman" },
{ name = "Eric Therond" },
{ name = "Zoe Nolan" },
{ name = "Harsh Raj" },
{ name = "Shine-afk" },
{ name = "Rafael Sandroni" },
{ name = "Eric Hacker" },
{ name = "Blessed Uyo" },
{ name = "Ikko Eltociear Ashimine" },
{ name = "iamnotcj" },
{ name = "Dwight Temple" },
{ name = "Shane Rosse" },
{ name = "Masaya Ogushi" },
{ name = "Viktor T. Zetterberg" },
{ name = "Erwan Roussel" },
{ name = "Matthew Rowe" },
{ name = "Aishwarya Padmakumar" },
{ name = "Marco Rosa" },
{ name = "Ian Chu" },
{ name = "Mike McKiernan" },
{ name = "Divya Chitimalla" },
{ name = "Katherine Luna" },
{ name = "Dave Baker" },
{ name = "Jack Kelly" },
{ name = "Amrit Prakash" },
{ name = "Cássia Sampaio" },
{ name = "Nakul Rajpal" },
{ name = "Noah Oeksuez" },
{ name = "Dhruv Malik" },
{ name = "Patricia Pampanelli" },
{ name = "Joseph Davis Chamdani" },
{ name = "Rob Geada" },
{ name = "Ashish RajAnand" },
{ name = "Paulina Kalicka" },
{ name = "Gal Moshkovitz" },
{ name = "Jack Smith" },
{ name = "Paul A. Parkanzky" },
{ name = "Leif Hancox-Li" },
{ name = "Fabrizio Rocco" },
{ name = "Sai Chandra Pandraju" },
{ name = "Harish Kolla" },
{ name = "Snehal Vartak" },
{ name = "Abhiraj Sinha" },
{ name = "Harsh Motla" },
{ name = "Otavio Padovani" },
]
license = "Apache-2.0"
license-files = ["LICENSE"]
description = "LLM vulnerability scanner"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"base2048>=0.1.3",
"transformers>=5.0,<6.0",
"datasets>=3.0.0,<4.0",
"colorama>=0.4.3",
"tqdm>=4.67.1",
"cohere>=5.16.0",
"openai>=2.0,<3.0",
"replicate>=0.8.3",
"google-api-python-client>=2.0",
"backoff>=2.1.1",
"rapidfuzz>=3.0.0",
"nltk>=3.9.1",
"accelerate>=0.23.0",
"avidtools==0.1.2",
"stdlibs>=2022.10.9",
"langchain>=1.2.1",
"cmd2==2.4.3",
"torch>=2.6.0",
"sentencepiece>=0.1.99",
"markdown>=3.4.3",
"numpy>=2.0.0",
"zalgolib>=0.2.2",
"ecoji>=0.1.1",
"deepl==1.17.0",
"litellm==1.82.6",
"jsonpath-ng>=1.6.1",
"huggingface_hub>=1.0",
'python-magic-bin>=0.4.14; sys_platform == "win32"',
'python-magic>=0.4.21; sys_platform != "win32"',
"lorem==0.1.1",
"xdg-base-dirs>=6.0.1",
"wn==0.9.5",
"ollama>=0.4.7",
"nvidia-riva-client==2.16.0",
"google-cloud-translate>=2.0.4",
"grpcio-tools>=1.71.0",
"langdetect==1.0.9",
"tiktoken>=0.7.0",
"mistralai==1.5.2",
"pillow>=10.4.0",
"ftfy>=6.3.1",
"websockets>=13.0",
"boto3>=1.28.0",
"py-markdown-table>=1.2.0",
]
[project.optional-dependencies]
tests = [
"pytest>=8.0",
"pytest-mock>=3.14.0",
"requests-mock==1.12.1",
"respx>=0.21.1",
"pytest-cov>=5.0.0",
"pytest_httpserver>=1.1.0",
"pytest-asyncio>=0.21.0",
"langcodes>=3.4.0",
]
lint = [
"black>=26.1.0",
"pylint>=3.1.0",
]
calibration = [
"scipy>=1.14.0",
]
audio = [
"soundfile>=0.13.1",
"librosa>=0.10.2"
]
dra = [
"detoxify>=0.5.0"
]
[project.urls]
"Homepage" = "https://github.com/NVIDIA/garak"
"Bug Tracker" = "https://github.com/NVIDIA/garak/issues"
[project.scripts]
garak = "garak.__main__:main"
[tool.flit.module]
name = "garak"
[tool.flit.sdist]
include = [
"*.md",
"*.txt",
"garak/analyze/templates/*",
"garak/configs/*",
"garak/resources/*.json",
"garak/resources/*.yaml",
]
exclude = [
".pre-commit-config.yaml",
".github/",
".gitignore",
"garak-report/",
"tests/",
"doc/source/html/",
]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
[tool.pytest.ini_options]
filterwarnings = [
"ignore",
"default:::garak",
]
[tool.coverage.run]
source = ["./garak"]
omit = ["tests/*"]