-
Notifications
You must be signed in to change notification settings - Fork 384
/
Copy pathpyproject.toml
140 lines (131 loc) · 3.31 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
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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "garak"
version = "0.10.3.post1"
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" },
]
license = { file = "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",
"License :: OSI Approved :: Apache Software License",
]
requires-python = ">=3.10"
dependencies = [
"base2048>=0.1.3",
"transformers>=4.43.0",
"datasets>=2.14.6,<2.17",
"colorama>=0.4.3",
"tqdm>=4.64.0",
"cohere>=4.5.1,<5",
"openai>=1.45.0,<2",
"replicate>=0.8.3",
"google-api-python-client>=2.0",
"backoff>=2.1.1",
"rapidfuzz>=3.0.0",
"jinja2>=3.1.2",
"nltk>=3.8.1",
"accelerate>=0.23.0",
"avidtools==0.1.2",
"stdlibs>=2022.10.9",
"langchain>=0.0.300",
"nemollm>=0.3.0",
"octoai-sdk>=0.8.0",
"cmd2==2.4.3",
"torch>=2.1.3",
"sentencepiece>=0.1.99",
"markdown>=3.4.3",
"numpy>=1.26.1",
"zalgolib>=0.2.2",
"ecoji>=0.1.1",
"deepl==1.17.0",
"fschat>=0.2.36",
"litellm>=1.41.21",
"jsonpath-ng>=1.6.1",
"huggingface_hub>=0.21.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",
"tiktoken>=0.7.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"
]
lint = [
"black==24.4.2",
"pylint>=3.1.0",
]
calibration = [
"scipy>=1.14.0",
]
[project.urls]
"Homepage" = "https://github.com/NVIDIA/garak"
"Bug Tracker" = "https://github.com/NVIDIA/garak/issues"
[project.scripts]
garak = "garak.__main__:main"
[tool.setuptools]
packages = ["garak"]
[tool.setuptools.package-data]
"garak.resources" = ["*"]
[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/*"]