analyze performance upgrade
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user