$npx skillfedfor your agent

pmd-net-proto

The network-protocol packet parse/assemble layer of the PyTCP stack — Ethernet through TCP/UDP — fully usable on its own.

With conditionsPyPI NetworkingReleased Jul 2026100.8K downloads / moGPL-3.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pmd_net_proto-0.0.3-py3-none-any.whl
v0.0.3 · released 2026-07-22 · Python >=3.9 · 2 runtime deps: pmd-net-addr, typing_extensions

Yes, if you need RFC-grounded network protocol parsing and assembly with strict validation. The package is actively maintained, has no known vulnerabilities, low install friction, and comprehensive protocol coverage. The GPL-3.0-or-later license is a blocker only for proprietary closed-source work. Verify the Python version requirement before committing to production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.9; description mentions 3.14+ for PEP 695 generics—verify your Python version against the actual requirement.
  • Low friction: pure Python wheel with only two runtime dependencies (pmd-net-addr and typing_extensions).
  • Actively maintained with a recent release (23 days old) and no known vulnerabilities.

License · maintenance · safety

GPL-3.0-or-later (copyleft) — GPL-3.0-or-later copyleft license requires derivative works and distributions to be licensed under GPL-3.0 or later; suitable for open-source projects but not for proprietary closed-source applications.

last release 2026-07-22 (23 days) · last repo commit 2026-08-10 · 376 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 100,759 downloads/mo, #12,974 on PyPI

Verify before relying

pip install pmd-net-proto

from pmd_net_proto.protocols.udp.udp__parser import UdpParser
from pmd_net_proto.protocols.udp.udp__assembler import UdpAssembler

datagram = UdpAssembler(udp__sport=12345, udp__dport=53, udp__payload=b"query")
parsed = UdpParser(packet_rx)  # raises UdpIntegrityError / UdpSanityError on bad input
  • Whether the description's Python 3.14+ requirement aligns with the metadata's requires_python >=3.9.
  • Actual test coverage percentage beyond the stated ~99% source coverage claim.
  • Whether the ~260 source modules and 5770 unit tests figures remain current for version 0.0.3.
Same gist for agents: .md · .json

What it is and what it does

pmd-net-proto is a network protocol codec library providing parser and assembler pairs for common Internet protocols—Ethernet, ARP, IPv4, IPv6, ICMPv4, ICMPv6, IGMP, TCP, UDP, DHCPv4, and DHCPv6—each with full RFC adherence, integrity and sanity validation, and typed wire enums. Every protocol follows a consistent six-file pattern: frozen header dataclass, base composition layer, three-phase RX parser pipeline, keyword-only TX assembler, and a two-axis error tree (IntegrityError for structural/wire-shape issues, SanityError for logical invariants).

The library is designed for strict, wire-hostile input handling: validation errors are typed exceptions that survive Python's -O optimization flag (unlike asserts), so they defend against malformed network data. Unknown wire codepoints are materialized as identity-stable pseudo-members via stdlib enum hooks, with no third-party enum library needed. It ships with py.typed and is strict-mypy clean, making it suitable for type-safe network protocol work in applications that need RFC-compliant, deterministic packet handling.

Use it for

  • Build network packet inspection tools that parse raw wire frames and validate against RFC specifications.
  • Construct protocol-compliant packets (TCP, UDP, DHCP, etc.) for network testing or packet generation.
  • Implement custom network stacks or protocol handlers that require strict validation and typed protocol enums.
  • Debug network issues by parsing captured packets with detailed integrity and sanity error reporting.
  • Develop network security tools that need to detect malformed or hostile wire input.

Worth the install?

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

With conditions

Yes, if you need RFC-grounded network protocol parsing and assembly with strict validation.

The package is actively maintained, has no known vulnerabilities, low install friction, and comprehensive protocol coverage. The GPL-3.0-or-later license is a blocker only for proprietary closed-source work. Verify the Python version requirement before committing to production.

Install

pmd-net-proto on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (pmd-net-addr and typing_extensions). Actively maintained with a recent release (23 days old) and no known vulnerabilities.

Requires Python >=3.9; description mentions 3.14+ for PEP 695 generics—verify your Python version against the actual requirement.

License in practice

GPL-3.0-or-later copyleft license requires derivative works and distributions to be licensed under GPL-3.0 or later; suitable for open-source projects but not for proprietary closed-source applications.

Quickstart

pip install pmd-net-proto

from pmd_net_proto.protocols.udp.udp__parser import UdpParser
from pmd_net_proto.protocols.udp.udp__assembler import UdpAssembler

datagram = UdpAssembler(udp__sport=12345, udp__dport=53, udp__payload=b"query")
parsed = UdpParser(packet_rx)  # raises UdpIntegrityError / UdpSanityError on bad input

Verify before relying

  • Whether the description's Python 3.14+ requirement aligns with the metadata's requires_python >=3.9.
  • Actual test coverage percentage beyond the stated ~99% source coverage claim.
  • Whether the ~260 source modules and 5770 unit tests figures remain current for version 0.0.3.

Package facts

LicenseGPL-3.0-or-later copyleft
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pmd-net-addrtyping_extensions
MaintenanceActively maintained 23 days since the last release
Last repo commit
First released
Downloads100,759 / month, #12,974 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaNatural Language :: EnglishOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.14Topic :: System :: NetworkingTyping :: Typed

Evidence: pmd_net_proto-0.0.3-py3-none-any.whl

Tags

Capabilities
network packet parsingTCP/IP protocol codecwire format assemblypacket validationRFC-compliant protocol handlingIPv4 IPv6 parsingUDP TCP packet builder
Topics
packet-parsingprotocol-codecrfc-compliant
PyPI keywords
pmd_pytcpnetworkingtcpipipv4ipv6arpetherneticmpudp

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 › “TCP/IP protocol codec”

  • pmd-net-protoParses, assembles, and validates network protocol packets (Ethernet…
  • dpktdpkt parses and creates TCP/IP protocol packets with minimal…
  • pmd-pytcpA pure-Python TCP/IP stack (Ethernet through RFC 9293 TCP) that runs…

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 pmd-pytcp · dpkt · threatwire · multiaddr · pydivert · pytun-pmd3 · pyrad · netaddr · spacepackets · mitmproxy-wireguard