Utility Functions & Classes¶

pcapkit.utilities contains several useful functions and classes which are fundations of pcapkit, including decorater function seekset() and beholder(), and several user-refined exceptions and warnings.

  • Logging System
    • logger
    • DEVMODE
  • Decorator Functions
    • seekset()
    • beholder()
  • User Defined Exceptions
    • BaseError
    • DigitError
    • IntError
    • RealError
    • ComplexError
    • BoolError
    • BytesError
    • StringError
    • BytearrayError
    • DictError
    • ListError
    • TupleError
    • IterableError
    • IOObjError
    • ProtocolUnbound
    • CallableError
    • InfoError
    • IPError
    • EnumError
    • ComparisonError
    • RegistryError
    • FormatError
    • UnsupportedCall
    • FileError
    • FileExists
    • FileNotFound
    • ProtocolNotFound
    • VersionError
    • IndexNotFound
    • ProtocolError
    • EndianError
    • KeyExists
    • ProtocolNotImplemented
    • VendorNotImplemented
    • StructError
    • MissingKeyError
    • FragmentError
    • PacketError
    • ModuleNotFound
    • stacklevel()
  • User Defined Warnings
    • warn()
    • BaseWarning
    • FormatWarning
    • EngineWarning
    • InvalidVendorWarning
    • FileWarning
    • LayerWarning
    • ProtocolWarning
    • AttributeWarning
    • DevModeWarning
    • VendorRequestWarning
    • VendorRuntimeWarning
    • DPKTWarning
    • ScapyWarning
    • PySharkWarning
    • EmojiWarning
    • VendorWarning

Version Compatibility¶

pcapkit further provides a compatibility layer for the following objects and functions:

ModuleNotFoundError

Python 3.6+

collections.abc.Collection

Python 3.6+

pathlib

Python 3.5+

functools.cached_property()

Python 3.8+

PyPCAPKit

Navigation

  • Module Documentation
    • User Interface
    • Library Foundation
    • Protocol Family
    • Core Utilities
    • Compatibility Tools
    • Dump Utilities
    • Utility Functions & Classes
    • Constant Enumerations
    • Vendor Crawlers
    • Command Line Tool
    • Library Index
  • How to …
  • Help Wanted

Related Topics

  • Documentation overview
    • Module Documentation
      • Previous: PCAP Dumper
      • Next: Logging System

Quick search

©2017-2023, Jarry Shaw. | Page source
Fork me on GitHub