Vendor Crawlers

The crawlers that generate pcapkit.const. They need the vendor extra, pip install "pypcapkit[vendor]".

Changed in version 1.5.0: Without requests or beautifulsoup4, importing this package succeeds but imports no crawler, where it used to raise. Reading a name in its __all__, or Vendor, raises ModuleNotFoundError naming the missing packages and the extra (#1850). Importing a crawler module directly, such as pcapkit.vendor.reg, still raises the missing package’s own ModuleNotFoundError.

Crawler Implementations

Protocol Numbers

Internet Layer

Transport Layer

Application Layer

Miscellaneous

Command Line Tool

pcapkit-vendor regenerates the constant enumerations.

usage: pcapkit-vendor [-h] [-V] ...

update constant enumerations

positional arguments:
  target         update targets, supply none to update all

options:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

Changed in version 1.5.0: Without requests or beautifulsoup4 from the vendor extra, pcapkit-vendor writes one line to standard error naming the missing packages and the extra to install, and exits with status 1 before any target runs (#1850). It used to fail with a traceback. --help and --version work without them.