$npx skillfedfor your agent

pypcap

pypcap -- Python interface to pcap a packet capture library

SkipPyPI NetworkingReleased Sep 2022187.5K downloads / moSource build

Decision gist · record as of 2026-08-14

sdist only — pypcap-1.3.0.tar.gz · builds from source
v1.3.0 · released 2022-09-12

No—install only if you have a specific, legacy requirement. The project is unmaintained and actively seeking a new maintainer; the last commit was 2023-03-29. High installation friction (system dependencies, C compilation), unclear licensing, and no Python version guarantees make this a poor choice for new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires libpcap-dev (Linux) or Npcap SDK (Windows) to be installed before pip install; compiles C extensions during installation.
  • Installation requires system-level dependencies (libpcap-dev on Linux, Npcap SDK on Windows) and compiles C extensions, creating high friction.
  • The project is explicitly unmaintained; the last commit was 2023-03-29 and maintainers are actively seeking someone to take over.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is provided in the package metadata, making it uncertain what restrictions or permissions apply to use or modification.

last release 2022-09-12 (1432 days) · last repo commit 2023-03-29 · 304 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 187,456 downloads/mo, #9,964 on PyPI

Verify before relying

pip install pypcap

# Capture packets from network interface
sniffer = pcap.pcap(name=None, promisc=True, immediate=True, timeout_ms=50)
for ts, pkt in sniffer:
    print(ts, pkt)
  • Whether the 2023-03-29 commit represents a stable state or stalled development.
  • What the actual license is, given the unclear treatment in metadata.
  • Python version compatibility—requires_python is unspecified in the metadata.
  • Whether WinPcap compatibility issues with Windows 10 affect current Windows deployments.
Same gist for agents: .md · .json

What it is and what it does

Pypcap is a Python wrapper around libpcap, the standard packet-capture library used by tcpdump and other network tools. It provides an object-oriented interface to capture live network traffic from a specified interface, allowing you to iterate over packets and extract headers and payload data. The package works on both Linux and Windows, though the description notes WinPcap has compatibility issues with Windows 10.

The library is designed for network analysis, packet inspection, and traffic monitoring tasks where you need direct access to link-layer frames. It has no Python runtime dependencies but requires compilation of C extensions and system-level packet-capture libraries to be present before installation. The project is currently unmaintained and the authors are seeking a new maintainer.

Use it for

  • Build a network packet sniffer to monitor and log traffic on a specific interface for debugging or security analysis.
  • Analyze network protocols by capturing raw packets and extracting source and destination addresses.
  • Create a network traffic monitor component that needs to inspect live packets as they arrive.
  • Develop packet-level network diagnostics tools that require direct access to link-layer frames.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—install only if you have a specific, legacy requirement.

The project is unmaintained and actively seeking a new maintainer; the last commit was 2023-03-29. High installation friction (system dependencies, C compilation), unclear licensing, and no Python version guarantees make this a poor choice for new projects.

Install

pypcap on PyPI

Before you install

Installation requires system-level dependencies (libpcap-dev on Linux, Npcap SDK on Windows) and compiles C extensions, creating high friction. The project is explicitly unmaintained; the last commit was 2023-03-29 and maintainers are actively seeking someone to take over.

Requires libpcap-dev (Linux) or Npcap SDK (Windows) to be installed before pip install; compiles C extensions during installation.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is provided in the package metadata, making it uncertain what restrictions or permissions apply to use or modification.

Quickstart

pip install pypcap

# Capture packets from network interface
sniffer = pcap.pcap(name=None, promisc=True, immediate=True, timeout_ms=50)
for ts, pkt in sniffer:
    print(ts, pkt)

Verify before relying

  • Whether the 2023-03-29 commit represents a stable state or stalled development.
  • What the actual license is, given the unclear treatment in metadata.
  • Python version compatibility—requires_python is unspecified in the metadata.
  • Whether WinPcap compatibility issues with Windows 10 affect current Windows deployments.

Package facts

LicenseNot declared unclear
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 1,432 days since the last release
Last repo commit
First released
Downloads187,456 / month, #9,964 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pypcap-1.3.0.tar.gz

Tags

Capabilities
packet capture pythonnetwork sniffer librarylibpcap wrapperpcap python interfacelive packet sniffingnetwork traffic analysis
Topics
packet-capturenetwork-analysisunmaintained

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “network sniffer library”

  • pypcapPython wrapper around libpcap that lets you capture and inspect…
  • python-pcapngParses and writes pcap-ng packet capture files, the format used by…
  • faust-cchardetDetects character encoding in binary data with high speed, supporting…

Give your agent the search over MCP, or paste the wish link into any chat.

More Networking packages

h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also pure-pcapy3 · pyshark · scapy · python-pcapng · pydivert · dpkt · pysoem · aiortsp · rtp · authcaptureproxy