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)
```
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for scapy2dict-0.11-py35, py36-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f04aac3d4e2ef19f7d335c96f196f7f63f31853090b62033c21f49eee74d21b |
|
MD5 | e82470960172e834b53ed10e9318dde6 |
|
BLAKE2b-256 | ffdd04a91387c4a07be1d752f30fb8d7011ab95974f71c3a7ab284fbb5312a37 |