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):
pip install cnexp
Local / Editable mode:
cd cnexp_package
pip install -e .
Quick Usage
# 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
- Character Stuffing & De-stuffing (DLE STX / DLE ETX)
- Bit Stuffing & De-stuffing (01111110 Flag)
- CRC-12 and CRC-16 Polynomials on Character Dataset
- Stop and Wait Sliding Window Protocol
- Go-Back-N Protocol Simulation
- Dijkstra's Shortest Path Routing Algorithm
- Distance Vector Routing (Delay Metric)
- Broadcast Tree for Subnet of Hosts (Minimum Spanning Tree)
- Leaky Bucket Congestion Control Algorithm
- NS-3 Style Queue Packet Drop Simulation
Metadata
Release files for cnexp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cnexp-0.1.0.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cnexp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / cnexp-0.1.0.tar.gz
| Download URL | cnexp-0.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93bdf55c5858757dd20f144a16e162b2a924d77931d7e2f81207cd563b44b38e
|
|
BLAKE2b-256 checksum How to use checksums |
5a1bf45de66b6193840ac4adb7c6e8bead3cb83373ae8da39f9ce3f429a75d77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / cnexp-0.1.0-py3-none-any.whl
| Download URL | cnexp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
493f1803f616d404cca2850ab0dff1e00efa8cb0089579515785189d6203e0fe
|
|
BLAKE2b-256 checksum How to use checksums |
2d6d3e97975b332f405dacea822e494887dd58b1a734e52da0b5af34338d8911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|