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 details)
Built Distribution
File details
Details for the file scapy2dict-0.11.tar.gz
.
File metadata
- Download URL: scapy2dict-0.11.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253288708cd039cedc08650d2b0fb94cf78ff83fcb82eba8870abc38fde7b792 |
|
MD5 | 54893f71d5dcfd795c9601d269f5ee24 |
|
BLAKE2b-256 | e0c5b65ec1cab3e62a5b00d75784b3f14041bbc0631d4f3d9a84028d702ebde4 |
File details
Details for the file scapy2dict-0.11-py35, py36-none-any.whl
.
File metadata
- Download URL: scapy2dict-0.11-py35, py36-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3.5, py36
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f04aac3d4e2ef19f7d335c96f196f7f63f31853090b62033c21f49eee74d21b |
|
MD5 | e82470960172e834b53ed10e9318dde6 |
|
BLAKE2b-256 | ffdd04a91387c4a07be1d752f30fb8d7011ab95974f71c3a7ab284fbb5312a37 |