This commit is contained in:
2024-12-09 18:22:38 +09:00
parent ab0cbebefc
commit c4c4547706
959 changed files with 174888 additions and 6 deletions

View File

@ -0,0 +1,17 @@
import sys
class UnsupportedVersionException(Exception):
pass
if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 5):
raise UnsupportedVersionException("Your version of Python is unsupported. "
"Pyshark requires Python >= 3.5 & Wireshark >= 2.2.0. "
" Please upgrade or use pyshark-legacy, or pyshark version 0.3.8")
from pyshark.capture.live_capture import LiveCapture
from pyshark.capture.live_ring_capture import LiveRingCapture
from pyshark.capture.file_capture import FileCapture
from pyshark.capture.remote_capture import RemoteCapture
from pyshark.capture.inmem_capture import InMemCapture