Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pcap_handler-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pcap_handler-0.1.3.tar.gz.

File metadata

  • Download URL: pcap_handler-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for pcap_handler-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b376827defbe9d57f4cf53a0445be36bcbdfccc71df0630e640a30165abbe868
MD5 9d78f8212d67600084b8ea744ecb62cd
BLAKE2b-256 c7b72e3e17b6275e89dcab47127c85e20a9de9a68780405cf9c34646c0243dca

See more details on using hashes here.

File details

Details for the file pcap_handler-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pcap_handler-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for pcap_handler-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fc10d2a92c8cf97c194701366f9bb4f2347f03c00a3b896eb1d95cb2bd039400
MD5 3a47a43c3890114490c06231b0fb5ee0
BLAKE2b-256 e22300989cc0564bdbe34443c802688b1aa2396cc4696b36431e5b7dcd0adb05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page