-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (102 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (102 loc) · 2.33 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "docsentinel"
version = "4.2.0"
description = "Automated security assessment for documents and questionnaires"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Arthur Pan", email = "panchao@example.com"}
]
keywords = ["security", "llm", "assessment", "rag"]
dependencies = [
"fastapi",
"uvicorn",
"python-multipart",
"pydantic",
"pydantic-settings",
"openai",
"httpx",
"numpy<3",
"chromadb",
"sentence-transformers>=2.2.0",
"langchain-core>=1.3",
"langchain-openai>=1.2",
"langchain-anthropic>=1.4",
"langchain-ollama>=1.0",
"langchain-text-splitters>=1.1",
"langgraph>=1.1",
"langchain-chroma>=1.0",
"langchain-huggingface>=1.0",
"python-docx",
"openpyxl",
"pymupdf",
"PyPDF2",
"python-pptx",
"reportlab",
"aiofiles",
"moviepy",
"mcp",
"a2a-sdk[fastapi]==1.2.0",
"docling>=2.0.0",
"lightrag-hku>=1.0.0",
"sqlmodel>=0.0.22",
"passlib[bcrypt]>=1.7.4",
"PyJWT>=2.8.0",
"alembic>=1.13.0",
"pyyaml>=6.0.0"
]
[project.optional-dependencies]
governance-infra = [
"redis>=5.0.0",
"structlog>=24.0.0",
"prometheus-fastapi-instrumentator>=7.0.0"
]
[project.scripts]
docsentinel-mcp = "app.mcp_server:mcp.run"
[project.urls]
"Homepage" = "https://github.com/arthurpanhku/DocSentinel"
"Bug Tracker" = "https://github.com/arthurpanhku/DocSentinel/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["app*", "evals*"]
# --- Tool Configuration ---
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --tb=short"
python_files = ["test_*.py"]
[tool.ruff]
line-length = 88
target-version = "py311"
exclude = [
".git",
".venv",
"__pycache__",
"build",
"dist",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true