Generates materials for a classroom simulation of TCP/IP
Project description
TCP/IP Simulation
TCP/IP is the protocol responsible for routing messages around the Internet. This package generates everything you need to run a fun and informative simulation of TCP/IP in your classroom, for any number of students. We once ran this simulation with 200 students in a gymnasium!
Installation
This package is installed on PyPI, so you can install it with pip. The simplest way to install and use this package is with pipx:
% pipx install tcp-ip-simulation
Quickstart
You will need a csv file containing a name column, listing the names of all
the participants in the simulation. Then run:
% generate-tcp-ip-simulation names.csv
This will generate materials for your simulation. Here's an example.
Options
The generate-tcp-ip-simulation command has a number of options you can use to
tweak your simulation:
% generate-tcp-ip-simulation --help
usage: generate [-h] [-l IP_ADDRESS_LENGTH] [-m MAX_NODES]
[-n NODES_PER_NAMESERVER] [-o OUTFILE] [-r] [-s FIGSIZE]
participants
Generate materials for a classroom simulation of TCP/IP
positional arguments:
participants
options:
-h, --help show this help message and exit
-l, --ip-address-length IP_ADDRESS_LENGTH
Number of components in IP addresses
-m, --max-nodes MAX_NODES
Maximum nodes per network
-n, --nodes-per-nameserver NODES_PER_NAMESERVER
Maximum nodes per network
-o, --outfile OUTFILE
Path to save result HTML file
-r, --random Randomize order of participants
-s, --figsize FIGSIZE
Size of simulation graph
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tcp_ip_simulation-0.2.2.tar.gz.
File metadata
- Download URL: tcp_ip_simulation-0.2.2.tar.gz
- Upload date:
- Size: 318.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
420ba0fdab406bf4bce0f7b6224498d7bfd6e58ac8918901830518227b2d93d0
|
|
| MD5 |
7b780e6c978b26912823bbdcfc7f1dcd
|
|
| BLAKE2b-256 |
1b4dc74019ad3ea05f991261f22301eb2d5ed997e5122a166b2ece6b114a2a97
|
File details
Details for the file tcp_ip_simulation-0.2.2-py3-none-any.whl.
File metadata
- Download URL: tcp_ip_simulation-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0afe515e2fce2f752494384ade3129fcc05ef84e6e11e5f5a40ddea8af63902
|
|
| MD5 |
7cb89dcc57e1e2a7b190baa286c40739
|
|
| BLAKE2b-256 |
702d7201bcd81757f374b1af4d88f0e5aa72daadb30759e35f81f084e16fe8e7
|