Skip to main content

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

  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

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)

Source distribution for cnexp 0.1.0
File Size Uploaded
cnexp-0.1.0.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cnexp 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page