-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
75 lines (68 loc) · 1.6 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
[project]
name = "owasp-aibom-generator"
version = "1.0.2"
description = "A comprehensive AI Bill of Materials (AIBOM) generation tool for Hugging Face models."
authors = [
{ name = "OWASP GenAI Security Project", email = "genai-security@owasp.org" }
]
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Security",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
dependencies = [
"beautifulsoup4>=4.11.0",
"datasets>=2.0.0",
"fastapi>=0.104.0",
"flask>=2.3.0",
"gunicorn>=21.2.0",
"httpx>=0.25.0",
"huggingface_hub>=0.19.0",
"jinja2>=3.0.0",
"jsonschema>=4.17.0",
"license-expression>=30.4.4",
"packageurl-python>=0.11.1",
"pydantic>=2.4.0",
"python-multipart",
"PyYAML>=6.0.1",
"requests>=2.31.0",
"sentencepiece>=0.1.99",
"torch>=2.0.0",
"transformers>=4.36.0",
"uvicorn>=0.24.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"ruff",
"gguf>=0.6.0"
]
[project.scripts]
aibom = "src.cli:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
namespaces = false
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=src"
testpaths = [
"tests",
]
pythonpath = [
"."
]
[dependency-groups]
dev = [
"gguf>=0.6.0",
]