Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols

Project description

Documentation Status Travis-CI Build Status Coverage Status Code Quality Status PyPI Package latest release
PyPI Package monthly downloads PyPI Wheel Supported versions Supported implementations


pip install dpkt


To run the all tests run:


Deviations from upstream

This code is based on dpkt code lead by Dug Song.

At this point, this is not the exact upstream version. If you are looking for the latest stock dpkt, please get it from the above link.

Almost all of the upstream changes are pulled. However, some modules are not. Here is a list of the changes:


BSD 3-Clause License, as the upstream project

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dpkt, version 1.8.5
Filename, size File type Python version Upload date Hashes
Filename, size dpkt-1.8.5-py2.py3-none-any.whl (98.3 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size dpkt-1.8.5.tar.gz (77.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page