-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (97 loc) · 2.68 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (97 loc) · 2.68 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "wireshark-mcp"
version = "2.0.0"
description = "A Model Context Protocol (MCP) server for Wireshark / tshark packet analysis"
readme = "README.md"
keywords = ["mcp", "wireshark", "tshark", "packet-analysis", "network", "pcap", "model-context-protocol", "llm", "security"]
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "bx33661" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Networking :: Monitoring",
"Topic :: Security",
"Typing :: Typed",
]
dependencies = [
"mcp>=1.0.0,<2.0.0",
"pyyaml>=6.0.3",
]
[project.optional-dependencies]
geoip = ["geoip2>=4.0"]
yara = ["yara-python>=4.3"]
all = ["geoip2>=4.0", "yara-python>=4.3"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.9",
"mypy>=1.10",
]
[project.urls]
Homepage = "https://github.com/bx33661/Wireshark-MCP"
Repository = "https://github.com/bx33661/Wireshark-MCP"
Issues = "https://github.com/bx33661/Wireshark-MCP/issues"
[project.scripts]
wireshark-mcp = "wireshark_mcp.server:main"
[tool.hatch.build.targets.wheel.force-include]
"skills" = "wireshark_mcp/skills"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.lint.isort]
known-first-party = ["wireshark_mcp"]
[tool.mypy]
python_version = "3.10"
strict = true
# Optional deps (geoip2, yara) are import-guarded at runtime; don't fail type-check when absent.
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["geoip2.*", "yara"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["wireshark_mcp"]
[tool.coverage.report]
fail_under = 50
show_missing = true
skip_covered = true
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.9",
"mypy>=1.10",
"types-PyYAML>=6.0",
]