Skip to main content

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

Project description

PyTCP-net_proto

The network-protocol packet parse / assemble / validate layer of the PyTCP TCP/IP stack — extracted as its own distribution and usable on its own.

from net_proto import IpProto
from net_proto.protocols.udp.udp__parser import UdpParser

Why

Strict, RFC-grounded, fully-typed wire-format codecs for the common Internet protocols, with a single clean validation-error tree and no runtime dependencies beyond the address library it is built on.

Coverage

Ethernet II / 802.3 (LLC/SNAP), ARP, IPv4 (+ options), IPv6 (+ Hop-by-Hop / Destination-Options / Routing / Fragment extension headers), ICMPv4, ICMPv6 (incl. ND, MLDv2), TCP (+ options), UDP, DHCPv4 — each as a parser / assembler pair with header dataclasses, integrity + sanity validation, and typed protocol enums.

Install

pip install PyTCP-net_proto

Depends only on PyTCP-net_addr (the address value-type library) and aenum. Fully typed (ships py.typed, PEP 561).

Requirements

Python 3.14+.

License

GPL-3.0-or-later. Part of the PyTCP project by Sebastian Majewski.

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

pytcp_net_proto-3.0.5.tar.gz (133.6 kB view details)

Uploaded Source

Built Distribution

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

pytcp_net_proto-3.0.5-py3-none-any.whl (363.8 kB view details)

Uploaded Python 3

File details

Details for the file pytcp_net_proto-3.0.5.tar.gz.

File metadata

  • Download URL: pytcp_net_proto-3.0.5.tar.gz
  • Upload date:
  • Size: 133.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytcp_net_proto-3.0.5.tar.gz
Algorithm Hash digest
SHA256 f56b2d5311a262e639778a0dfae38714e4d813ee17a41e8591c63e40dcfacf55
MD5 f8caf28f53e58b07ad9dc27bdbd39c8f
BLAKE2b-256 6180e47a1330e7ed9f448826dd35f638615bc8468096fe1e51447a319a62f38d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytcp_net_proto-3.0.5.tar.gz:

Publisher: publish.yml on ccie18643/PyTCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytcp_net_proto-3.0.5-py3-none-any.whl.

File metadata

  • Download URL: pytcp_net_proto-3.0.5-py3-none-any.whl
  • Upload date:
  • Size: 363.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytcp_net_proto-3.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 73ddae4b6fd7573ed1ad1e3095b734f6a9126fc0c7ed98033ffeccdeca6314b0
MD5 a68a2fd53f2350b699c25ceb0311b267
BLAKE2b-256 89afa3dd791a4a1701b6dd80a2a2ce40de961ac3780592071ef2108480cab4b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytcp_net_proto-3.0.5-py3-none-any.whl:

Publisher: publish.yml on ccie18643/PyTCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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