bdo-toolkit 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bdo_toolkit/__init__.py +87 -0
- bdo_toolkit/_async_sessions.py +651 -0
- bdo_toolkit/_capture_backend.py +194 -0
- bdo_toolkit/_capture_options.py +68 -0
- bdo_toolkit/_capture_runtime.py +626 -0
- bdo_toolkit/_deposit_origin.py +1599 -0
- bdo_toolkit/_engine.py +327 -0
- bdo_toolkit/_framing.py +904 -0
- bdo_toolkit/_profile_runtime.py +157 -0
- bdo_toolkit/_protocol.py +386 -0
- bdo_toolkit/_reassembly.py +654 -0
- bdo_toolkit/_specs.py +285 -0
- bdo_toolkit/_storage_destination_validation.py +167 -0
- bdo_toolkit/_storage_hydration.py +241 -0
- bdo_toolkit/_version.py +3 -0
- bdo_toolkit/calibration.py +3223 -0
- bdo_toolkit/capture.py +1713 -0
- bdo_toolkit/character_state.py +3506 -0
- bdo_toolkit/cli.py +948 -0
- bdo_toolkit/diagnostics.py +51 -0
- bdo_toolkit/events.py +214 -0
- bdo_toolkit/filters.py +105 -0
- bdo_toolkit/item_state.py +48 -0
- bdo_toolkit/origin_learning.py +779 -0
- bdo_toolkit/profiles.py +370 -0
- bdo_toolkit/py.typed +1 -0
- bdo_toolkit/remote_profiles.py +358 -0
- bdo_toolkit/solare/__init__.py +50 -0
- bdo_toolkit/solare/_constants.py +94 -0
- bdo_toolkit/solare/_detail_learning.py +1437 -0
- bdo_toolkit/solare/_details.py +796 -0
- bdo_toolkit/solare/_discovery.py +1212 -0
- bdo_toolkit/solare/_live_tracker.py +472 -0
- bdo_toolkit/solare/_replay_capture.py +182 -0
- bdo_toolkit/solare/_result.py +441 -0
- bdo_toolkit/solare/_scanner.py +203 -0
- bdo_toolkit/solare/_validation.py +11 -0
- bdo_toolkit/solare/async_session.py +444 -0
- bdo_toolkit/solare/models.py +806 -0
- bdo_toolkit/solare/replay.py +62 -0
- bdo_toolkit/solare/session.py +1051 -0
- bdo_toolkit/writers.py +30 -0
- bdo_toolkit-1.0.0.dist-info/METADATA +143 -0
- bdo_toolkit-1.0.0.dist-info/RECORD +48 -0
- bdo_toolkit-1.0.0.dist-info/WHEEL +5 -0
- bdo_toolkit-1.0.0.dist-info/entry_points.txt +2 -0
- bdo_toolkit-1.0.0.dist-info/licenses/LICENSE +21 -0
- bdo_toolkit-1.0.0.dist-info/top_level.txt +1 -0
bdo_toolkit/__init__.py
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"""Public API for the passive bdo-toolkit."""
|
|
2
|
+
|
|
3
|
+
from ._async_sessions import AsyncCalibrationSession, AsyncLiveCaptureSession
|
|
4
|
+
from ._capture_options import LiveCaptureOptions, PacketCaptureOptions
|
|
5
|
+
from ._capture_runtime import CaptureEndpoint
|
|
6
|
+
from .capture import (
|
|
7
|
+
CaptureIntegrityError,
|
|
8
|
+
LiveCaptureHealth,
|
|
9
|
+
LiveCaptureSession,
|
|
10
|
+
capture_live,
|
|
11
|
+
replay_pcap,
|
|
12
|
+
)
|
|
13
|
+
from .events import BDOEvent, Flow
|
|
14
|
+
from .diagnostics import DecoderDiagnostic, DecoderHealth
|
|
15
|
+
from .filters import EventFilter
|
|
16
|
+
from .profiles import (
|
|
17
|
+
OPCODE_PROFILE_SCHEMA_VERSION,
|
|
18
|
+
OpcodeProfile,
|
|
19
|
+
OriginCompanionFamily,
|
|
20
|
+
ProfileError,
|
|
21
|
+
load_opcode_profile,
|
|
22
|
+
)
|
|
23
|
+
from .remote_profiles import (
|
|
24
|
+
DEFAULT_REMOTE_PROFILE_MAX_BYTES,
|
|
25
|
+
DEFAULT_REMOTE_PROFILE_TIMEOUT_SECONDS,
|
|
26
|
+
ProfileFetchResult,
|
|
27
|
+
REMOTE_PROFILE_ENVELOPE_VERSION,
|
|
28
|
+
RemoteProfileError,
|
|
29
|
+
fetch_opcode_profile,
|
|
30
|
+
)
|
|
31
|
+
from ._protocol import StorageLocation, storage_location
|
|
32
|
+
from .origin_learning import (
|
|
33
|
+
CompanionObservation,
|
|
34
|
+
DEFAULT_ORIGIN_LEARNING_MAX_CANDIDATES,
|
|
35
|
+
DEFAULT_ORIGIN_LEARNING_MAX_OBSERVATIONS,
|
|
36
|
+
OriginCompanionCandidate,
|
|
37
|
+
OriginLearner,
|
|
38
|
+
OriginLearningLimitError,
|
|
39
|
+
OriginPromotion,
|
|
40
|
+
promote_origin_candidates,
|
|
41
|
+
)
|
|
42
|
+
from .writers import ConsoleEventWriter, JsonlEventWriter
|
|
43
|
+
from . import solare
|
|
44
|
+
from ._version import __version__
|
|
45
|
+
|
|
46
|
+
__all__ = [
|
|
47
|
+
"AsyncCalibrationSession",
|
|
48
|
+
"AsyncLiveCaptureSession",
|
|
49
|
+
"BDOEvent",
|
|
50
|
+
"CaptureEndpoint",
|
|
51
|
+
"CaptureIntegrityError",
|
|
52
|
+
"ConsoleEventWriter",
|
|
53
|
+
"DecoderDiagnostic",
|
|
54
|
+
"DecoderHealth",
|
|
55
|
+
"EventFilter",
|
|
56
|
+
"Flow",
|
|
57
|
+
"JsonlEventWriter",
|
|
58
|
+
"LiveCaptureOptions",
|
|
59
|
+
"LiveCaptureHealth",
|
|
60
|
+
"LiveCaptureSession",
|
|
61
|
+
"OPCODE_PROFILE_SCHEMA_VERSION",
|
|
62
|
+
"PacketCaptureOptions",
|
|
63
|
+
"OpcodeProfile",
|
|
64
|
+
"OriginCompanionFamily",
|
|
65
|
+
"CompanionObservation",
|
|
66
|
+
"DEFAULT_ORIGIN_LEARNING_MAX_CANDIDATES",
|
|
67
|
+
"DEFAULT_ORIGIN_LEARNING_MAX_OBSERVATIONS",
|
|
68
|
+
"DEFAULT_REMOTE_PROFILE_MAX_BYTES",
|
|
69
|
+
"DEFAULT_REMOTE_PROFILE_TIMEOUT_SECONDS",
|
|
70
|
+
"OriginCompanionCandidate",
|
|
71
|
+
"OriginLearner",
|
|
72
|
+
"OriginLearningLimitError",
|
|
73
|
+
"OriginPromotion",
|
|
74
|
+
"ProfileError",
|
|
75
|
+
"ProfileFetchResult",
|
|
76
|
+
"REMOTE_PROFILE_ENVELOPE_VERSION",
|
|
77
|
+
"RemoteProfileError",
|
|
78
|
+
"StorageLocation",
|
|
79
|
+
"__version__",
|
|
80
|
+
"capture_live",
|
|
81
|
+
"fetch_opcode_profile",
|
|
82
|
+
"load_opcode_profile",
|
|
83
|
+
"promote_origin_candidates",
|
|
84
|
+
"replay_pcap",
|
|
85
|
+
"storage_location",
|
|
86
|
+
"solare",
|
|
87
|
+
]
|