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
Metadata
Release files for tcp-ip-simulation 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tcp_ip_simulation-0.2.2.tar.gz | 318.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tcp_ip_simulation-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 330.1 kB
Release files / tcp_ip_simulation-0.2.2.tar.gz
| Download URL | tcp_ip_simulation-0.2.2.tar.gz |
|---|---|
| Size | 318.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
420ba0fdab406bf4bce0f7b6224498d7bfd6e58ac8918901830518227b2d93d0
|
|
BLAKE2b-256 checksum How to use checksums |
1b4dc74019ad3ea05f991261f22301eb2d5ed997e5122a166b2ece6b114a2a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0
|
Release files / tcp_ip_simulation-0.2.2-py3-none-any.whl
| Download URL | tcp_ip_simulation-0.2.2-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0afe515e2fce2f752494384ade3129fcc05ef84e6e11e5f5a40ddea8af63902
|
|
BLAKE2b-256 checksum How to use checksums |
702d7201bcd81757f374b1af4d88f0e5aa72daadb30759e35f81f084e16fe8e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0
|