-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (85 loc) · 2 KB
/
pyproject.toml
File metadata and controls
94 lines (85 loc) · 2 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
[build-system]
requires = ["setuptools>=80.9.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "twinrad"
version = "0.2.0"
description = "A multi-agent red teaming framework for testing LLM safety and robustness"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "TwinRAD Team"}
]
keywords = ["ai", "security", "red-team", "llm", "safety", "testing"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Security",
]
requires-python = ">=3.12"
dependencies = [
"google-genai==1.30.0",
"openai==1.99.9",
"playwright==1.55.0",
"pydantic==2.11.7",
"pydantic-settings==2.10.1",
"thefuzz==0.22.1"
]
[project.optional-dependencies]
vllm = [
"torch==2.6.0",
"transformers==4.56.0",
"vllm==0.8.5"
]
dev = [
"pip-audit>=2.9.0",
"pytest>=8.4.1",
"pytest-asyncio>=1.1.0",
"pytest-mock>=3.14.1",
"black",
"flake8",
"mypy",
"pre-commit",
]
[project.urls]
Homepage = "https://github.com/username/twinrad"
Repository = "https://github.com/username/twinrad.git"
Issues = "https://github.com/username/twinrad/issues"
[project.scripts]
twinrad = "twinrad.main:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
twinrad = ["*.yaml", "*.yml", "*.json"]
[tool.black]
line-length = 88
target-version = ["py312"]
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"