-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (107 loc) · 3.23 KB
/
pyproject.toml
File metadata and controls
118 lines (107 loc) · 3.23 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
[project]
name = "logsentinelai"
version = "0.0.0"
description = "AI-Powered Log Analyzer - Leverages LLM to analyze log files and detect security events"
readme = "README.md"
authors = [
{ name = "JungJungIn", email = "call518@gmail.com" }
]
license = "MIT"
keywords = ["security", "log-analysis", "ai", "llm", "cybersecurity", "elasticsearch", "threat-detection"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.11,<3.13"
dependencies = [
"aiohttp>=3.12.14",
"anyio>=4.9.0",
"distro>=1.9.0",
"elastic-transport>=8.17.1",
"elasticsearch>=9.0.2",
"geoip2>=5.1.0",
"httpx>=0.28.1",
"interegular>=0.3.3",
"iso3166>=2.1.1",
"jinja2>=3.1.6",
"jiter>=0.10.0",
"jsonpath-ng>=1.7.0",
"maxminddb>=2.7.0",
"ollama>=0.5.1",
"openai>=1.97.1",
"outlines[gemini]>=1.1.1",
"outlines-core>=0.1.26",
"paramiko>=3.5.1",
"pydantic>=2.11.7",
"pydantic-core>=2.33.2",
"python-dateutil>=2.9.0.post0",
"python-dotenv>=1.1.1",
"requests>=2.32.4",
"rich>=14.1.0",
"sniffio>=1.3.1",
"tqdm>=4.67.1",
"typing-extensions>=4.14.1",
"google-genai>=1.28.0",
"tiktoken>=0.7.0",
"python-telegram-bot>=22.3",
"anthropic>=0.84.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0",
"black>=23.0",
"isort>=5.12",
"flake8>=6.0",
"mypy>=1.0",
]
[project.urls]
Homepage = "https://github.com/call518/LogSentinelAI"
Repository = "https://github.com/call518/LogSentinelAI.git"
Issues = "https://github.com/call518/LogSentinelAI/issues"
Documentation = "https://github.com/call518/LogSentinelAI#readme"
[project.scripts]
logsentinelai = "logsentinelai.cli:main"
logsentinelai-httpd-access = "logsentinelai.analyzers.httpd_access:main"
logsentinelai-httpd-server = "logsentinelai.analyzers.httpd_server:main"
logsentinelai-linux-system = "logsentinelai.analyzers.linux_system:main"
logsentinelai-general-log = "logsentinelai.analyzers.general_log:main"
logsentinelai-geoip-download = "logsentinelai.utils.geoip_downloader:main"
logsentinelai-geoip-lookup = "logsentinelai.utils.geoip_lookup:main"
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["logsentinelai*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
logsentinelai = [".env.template"]
[tool.black]
line-length = 88
target-version = ['py311']
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --cov=logsentinelai --cov-report=term-missing"