Skip to main content

Scapy packet to dict

Project description

# scapy2dict
Scapy packet to dict

`pip3 install scapy2dict`


from scapy.all import sniff
from scapy2dict import to_dict
pkt = sniff(count=1)[0]

# To ChainMap dict
data = to_dict(pkt)

# to exactly dict
data = to_dict(pkt, strict=True)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scapy2dict, version 0.11
Filename, size File type Python version Upload date Hashes
Filename, size scapy2dict-0.11-py35, py36-none-any.whl (3.1 kB) File type Wheel Python version py35, py36 Upload date Hashes View
Filename, size scapy2dict-0.11.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page