Metadata-Version: 2.4
Name: PyTCP-net_proto
Version: 3.0.5
Summary: The network-protocol packet parse/assemble layer of the PyTCP stack — Ethernet through TCP/UDP — fully usable on its own.
Author-email: Sebastian Majewski <ccie18643@gmail.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/ccie18643/PyTCP
Project-URL: Bug Tracker, https://github.com/ccie18643/PyTCP/issues
Keywords: pytcp,networking,tcp,ip,ipv4,ipv6,arp,ethernet,icmp,udp
Classifier: Programming Language :: Python :: 3.14
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: POSIX :: Linux
Classifier: Natural Language :: English
Classifier: Topic :: System :: Networking
Classifier: Typing :: Typed
Requires-Python: >=3.14
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyTCP-net_addr==3.0.5
Requires-Dist: aenum
Dynamic: license-file

# PyTCP-net_proto

The network-protocol packet **parse / assemble / validate** layer of
the [PyTCP](https://github.com/ccie18643/PyTCP) TCP/IP stack —
extracted as its own distribution and usable on its own.

```python
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

```bash
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.
