JarryShaw/PyPCAPKit — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python library for working with network capture files. I want it to read PCAP files, break packets down into detailed protocol information, and make the results easy for Python users to inspect, export, and build on.

Please include a simple high level interface so someone can point it at a capture file and get structured packet data back without needing to understand every network layer. It should also have lower level protocol modules for people who want more detail. Add support for formatted output dumps, useful constants, utilities, and a clean internal structure so the project can grow.

It should work on Python 3.6 and newer. If possible, let users choose different parsing backends like the built in parser, Scapy, DPKT, or PyShark so they can trade detail for speed. Also include basic CLI usage, installation setup, samples, tests, and documentation. Look up current docs online if you need to.

Want more depth? Deep Reverse