Metadata-Version: 2.4
Name: cnexp
Version: 0.1.0
Summary: Quick CLI reference for Computer Networks lab experiment programs
Author-email: CN Student <student@example.com>
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cnexp - Computer Networks Lab Programs CLI

A lightweight CLI tool to instantly display and export clean, memorization-friendly Python programs for Computer Networks (CN) lab experiments.

## Installation

### From PyPI (once published):
```bash
pip install cnexp
```

### Local / Editable mode:
```bash
cd cnexp_package
pip install -e .
```

## Quick Usage

```bash
# List all 10 experiments
cnexp --list

# View an experiment (by number or name)
cnexp 1
cnexp 2
cnexp bit_stuffing
cnexp crc
cnexp dijkstra

# Save directly to a python file to run immediately in your lab
cnexp 3 -o crc.py
python crc.py
```

## Included Experiments
1. Character Stuffing & De-stuffing (DLE STX / DLE ETX)
2. Bit Stuffing & De-stuffing (01111110 Flag)
3. CRC-12 and CRC-16 Polynomials on Character Dataset
4. Stop and Wait Sliding Window Protocol
5. Go-Back-N Protocol Simulation
6. Dijkstra's Shortest Path Routing Algorithm
7. Distance Vector Routing (Delay Metric)
8. Broadcast Tree for Subnet of Hosts (Minimum Spanning Tree)
9. Leaky Bucket Congestion Control Algorithm
10. NS-3 Style Queue Packet Drop Simulation
