skillfed

pure-pcapy3

Pure Python reimplementation of pcapy. This package is API compatible and a drop-in replacement.

pure-pcapy3 v1.0.1 130.4K downloads/30d#11,643 on PyPI
Permissive license Simplified BSD Abandoned released

What it is and what it does

pure-pcapy3 is a pure-Python reimplementation designed as a drop-in replacement for pcapy, focusing on file-based operations—reading and writing PCAP files—rather than live network traffic capture. The package aims for API compatibility, meaning code written for file operations should work with pure-pcapy3, though any feature requiring live capture will raise NotImplementedError.

The package is useful when you need PCAP file handling in a pure-Python environment without compiled dependencies, but it comes with significant caveats: it has been abandoned since its initial release on 2017-02-27 with no maintenance, updates, or bug fixes. It carries no known security vulnerabilities, but the lack of ongoing development means compatibility with modern Python versions and current PCAP formats is uncertain.

Use it for:

  • Parse and analyze PCAP files in a pure-Python environment without compiled dependencies.
  • Migrate code to a dependency-free alternative for file-based packet analysis only.
  • Write PCAP files programmatically in Python without requiring system-level packet capture libraries.
  • Test or prototype network packet analysis logic in environments where compiled extensions cannot be installed.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Pure-Python implementation of the pcapy API for reading and writing PCAP network packet capture files, without support for live traffic capture.

No. The package is abandoned since 2017 with no maintenance signal, high install friction, and no documented Python version support. Use only if you have a specific legacy codebase already depending on it and cannot migrate to an actively maintained alternative. For new projects, choose a maintained PCAP library.

Install

pure-pcapy3 on PyPI

pip

pip install pure-pcapy3

uv

uv add pure-pcapy3

poetry

poetry add pure-pcapy3

Installing pure-pcapy3

Before you install

High install friction due to source-only distribution. Package is abandoned as of 2017 with no maintenance or updates since initial release; use only if you need a static, file-based PCAP reader and can accept no ongoing support.

License in practice

Licensed under Simplified BSD (permissive), so you may use, modify, and distribute the package freely provided you retain the license notice.

Quickstart

pip install pure-pcapy3

import pure_pcapy3

# Read PCAP file
capture = pure_pcapy3.open_offline('capture.pcap')
header, data = capture.next()

Package is abandoned since 2017 and receives no maintenance; live traffic capture is not supported, only file operations.

Verify before relying

  • Whether the API compatibility with pcapy remains sufficient for current use cases given the 2017 codebase.
  • Whether Python version support is documented or tested against modern Python releases.
  • Whether the package works correctly with modern PCAP file formats or only legacy formats.
  • Actual module import name and available public API methods beyond file operations.

Package facts

License Simplified BSD (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 3,455 days since the last release
First released
Downloads 130,368/month — #11,643 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pure-pcapy3-1.0.1.tar.gz

Keywords: pcap, file, reader, writer

Tags

pcap file reader pythonnetwork packet capture file parsingpcapy replacement pure pythonpcap writer librarypacket capture file formatpcap file format handler
pcap-file-handlingabandoned

More Networking packages