-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (88 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
101 lines (88 loc) · 2.42 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "veritensor"
version = "1.8.0"
description = "Antivirus for the AI Supply Chain. Scans models, datasets, notebooks, and RAG documents for threats."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{name = "Arsenii Brazhnyk", email = "veritensor@gmail.com"}
]
keywords = ["security", "ai", "mlops", "malware-detection", "supply-chain", "devsecops", "rag", "data-poisoning"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Security",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"requests>=2.31.0",
"pyyaml>=6.0",
"huggingface_hub>=0.19.0",
"cyclonedx-python-lib>=6.0.0",
"jinja2>=3.1.0",
"pillow>=12.2.0",
"lxml>=6.1.0",
# Fickling removed from here to avoid installing PyTorch (800MB+) for regular users
"gitpython>=3.1.47",
]
[project.optional-dependencies]
# Install these only for testing: pip install veritensor[test]
test = [
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
"fickling>=0.0.1",
"reportlab>=4.0.0",
"anyio>=4.0.0",
"coverage>=7.0.0"
]
# Optional dependencies for PII scanning
pii = [
"presidio-analyzer>=2.2.0",
"spacy>=3.0.0"
]
# Optional dependencies for RAG document scanning (PDF, DOCX)
rag = [
"pypdf>=4.0.0",
"python-docx>=1.1.0",
"python-pptx>=0.6.21",
"veritensor[pii]"
]
# AWS Support (S3 scanning)
aws = [
"boto3>=1.28.0"
]
data = [
"pyarrow>=14.0.0",
"pandas>=2.0.0",
"openpyxl>=3.1.0"
]
all = [
"veritensor[aws,data,rag,pii]"
]
dev = [
"veritensor[all,test]",
"black",
"isort"
]
[project.urls]
"Homepage" = "https://github.com/arsbr/Veritensor"
"Bug Tracker" = "https://github.com/arsbr/Veritensor/issues"
"Documentation" = "https://github.com/arsbr/Veritensor#readme"
[project.scripts]
veritensor = "veritensor.cli.main:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
veritensor = ["**/*.yaml"]