Skip to main content

Scapy packet to dict

Project description

# scapy2dict
Scapy packet to dict


install
-------
`pip3 install scapy2dict`


Usage
-----

```python
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.

Source Distribution

scapy2dict-0.11.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

scapy2dict-0.11-py35, py36-none-any.whl (3.1 kB view hashes)

Uploaded py35, py36

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page