forked from aitechnav/Sentinel_Guard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (90 loc) · 2.31 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (90 loc) · 2.31 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
[build-system]
requires = ["setuptools>=77.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sentinelguard"
version = "0.0.8"
description = "A comprehensive, production-ready LLM security and guardrails framework"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9"
authors = [
{name = "SentinelGuard Contributors"},
{name = "Anuj Tyagi"},
]
keywords = ["llm", "security", "guardrails", "ai", "safety", "pii", "adversarial"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Security",
]
dependencies = [
"pydantic>=2.0.0",
"pyyaml>=6.0",
"tiktoken>=0.5.0",
"regex>=2023.0",
# Secrets detection
"detect-secrets>=1.4.0",
# PII detection (Presidio)
"presidio-analyzer>=2.2.0",
"presidio-anonymizer>=2.2.0",
"spacy>=3.6.0",
]
[project.optional-dependencies]
models = [
"transformers>=4.30.0",
"torch>=2.0.0",
"numpy>=1.24.0",
"sentence-transformers>=2.2.0",
]
api = [
"fastapi>=0.100.0",
"uvicorn>=0.23.0",
"httpx>=0.24.0",
]
gateway = [
"fastapi>=0.100.0",
"uvicorn>=0.23.0",
"httpx>=0.24.0",
]
monitoring = [
"opentelemetry-api>=1.20.0",
"opentelemetry-sdk>=1.20.0",
"prometheus-client>=0.17.0",
]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
]
[project.scripts]
sentinelguard = "sentinelguard.cli:main"
[project.urls]
Homepage = "https://github.com/aitechnav/Sentinel_Guard"
Repository = "https://github.com/aitechnav/Sentinel_Guard"
Issues = "https://github.com/aitechnav/Sentinel_Guard/issues"
[tool.setuptools.packages.find]
include = ["sentinelguard*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true