-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (125 loc) · 3.1 KB
/
pyproject.toml
File metadata and controls
138 lines (125 loc) · 3.1 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
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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aegisgate"
version = "0.1.0"
description = "Open-source security gateway for LLM API calls — prompt injection detection, PII redaction, dangerous response sanitization, and audit logging for AI agents and applications"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
keywords = [
"llm",
"security",
"gateway",
"prompt-injection",
"pii-redaction",
"ai-security",
"openai",
"mcp",
"agent",
"api-proxy",
"output-sanitization",
"audit-logging",
"ai-gateway",
"llm-firewall",
"data-loss-prevention",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Security",
"Topic :: Internet :: Proxy Servers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Framework :: FastAPI",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"fastapi>=0.115.0",
"uvicorn>=0.30.0",
"httpx>=0.27.0",
"pydantic>=2.8.0",
"pydantic-settings>=2.4.0",
"pyyaml>=6.0.0",
"starlette>=0.49.1",
"cryptography>=46.0.6",
]
[project.urls]
Homepage = "https://github.com/ax128/AegisGate"
Repository = "https://github.com/ax128/AegisGate"
Issues = "https://github.com/ax128/AegisGate/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.2.0",
"pytest-cov>=5.0.0",
"pytest-asyncio>=0.23.0",
"pytest-timeout>=2.3.0",
]
redis = [
"redis>=5.0.0",
]
postgres = [
"psycopg[binary]>=3.1.0",
]
semantic = [
"scikit-learn>=1.3.0",
"jieba>=0.42.0",
"joblib>=1.3.0",
]
observability = [
"prometheus-client>=0.20.0",
"opentelemetry-api>=1.24.0",
"opentelemetry-sdk>=1.24.0",
"opentelemetry-exporter-otlp-proto-grpc>=1.24.0",
]
[tool.pytest.ini_options]
testpaths = ["aegisgate/tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
timeout = 30
[tool.coverage.run]
source = ["aegisgate"]
omit = ["aegisgate/tests/*"]
[tool.coverage.report]
fail_under = 50
show_missing = true
skip_empty = true
[tool.mypy]
# Exclude packaged build artifacts so `mypy .` only checks source modules and
# does not fail on duplicate package names under build/lib.
exclude = '^(build/|dist/|scripts/)'
[[tool.mypy.overrides]]
# Optional/runtime-only dependencies in this project do not ship stubs, so
# type-check source code without blocking on third-party package metadata.
module = [
"datasets",
"jieba",
"joblib",
"opentelemetry.*",
"prometheus_client",
"psycopg",
"redis",
"sklearn.*",
"yaml",
]
ignore_missing_imports = true
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["aegisgate*"]
exclude = ["aegisgate.tests*"]
[tool.setuptools.package-data]
aegisgate = [
"models/tfidf/*.joblib",
"policies/rules/*.yaml",
]
[tool.setuptools.exclude-package-data]
aegisgate = [
"tests/*",
]