analyze performance upgrade

This commit is contained in:
DaStra3003
2026-09-23 08:01:49 +02:00
parent aabe35fead
commit 7f7b753350
51 changed files with 5827 additions and 1372 deletions
+3 -13
View File
@@ -1,17 +1,7 @@
"""Framework-independent analysis core for IoT PreTester 4.6 Demo.
The package is independent of Django and supports both backend and CLI use.
The pyshark/tshark extractor is loaded only when a capture is analyzed.
Headless example:
from analyzer import AnalysisEngine, render
result = AnalysisEngine().analyze_pcap("capture.pcapng")
print(render(result, "md"))
Synthetic-context example without tshark:
from analyzer import AnalysisEngine
from analyzer.context import CaptureContext
result = AnalysisEngine().analyze_context(CaptureContext(...))
Usable from Django and the CLI; tshark is only invoked when a capture is read.
See README.md for examples.
"""
from __future__ import annotations
@@ -27,7 +17,7 @@ from .artifacts import (
# Importing the package registers every detector.
from . import detectors # noqa: F401
__version__ = "4.6.0-demo.0"
__version__ = "4.6.2-demo.0"
__all__ = [
"Finding", "Category", "Severity", "Confidence",