Convert a pcap file into pandas DataFrame or CSV
Project description
import library as:
from pcap_handler import *
or
from pcap_handler import pcapHandler
or
from pcap_handler import dfHandler
Make an object of library
To convert pcap to pandas DataFrame:
pcap2df = pcapHandler(file="path to pcap file", verbose=True)
df = pcap2df.to_DF(head=True)
To conver DataFrame to CSV:
df2csv = dfHandler(dataFrame=df, verbose=True)
df2csv.to_CSV(outputPath="path to save csv")
Descriptive README soon...
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
pcap_handler-0.1.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for pcap_handler-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc10d2a92c8cf97c194701366f9bb4f2347f03c00a3b896eb1d95cb2bd039400 |
|
MD5 | 3a47a43c3890114490c06231b0fb5ee0 |
|
BLAKE2b-256 | e22300989cc0564bdbe34443c802688b1aa2396cc4696b36431e5b7dcd0adb05 |