This is a simplified object-oriented Python wrapper for libpcap - the current tcpdump.org version, and the WinPcap port for Windows.
example use:
>>> import pcap
>>> for ts, pkt in pcap.pcap():
... print ts, `pkt`
...
This package requires:
- libpcap-dev
- python-dev
To install run:
pip install pypcap
Visit https://github.com/pynetwork/pypcap for help!
To build docs you need the following additional dependencies:
`
pip install sphinx mock sphinxcontrib.napoleon
`