{"id":20618253,"url":"https://github.com/tddschn/network-delay-calculators","last_synced_at":"2025-08-01T09:42:37.430Z","repository":{"id":192103764,"uuid":"685360179","full_name":"tddschn/network-delay-calculators","owner":"tddschn","description":"End-to-end Packet-Switching Network Delay Calculator","archived":false,"fork":false,"pushed_at":"2023-09-08T02:01:40.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T04:47:55.669Z","etag":null,"topics":["computer-networks","packet-switching","python3"],"latest_commit_sha":null,"homepage":"https://github.com/tddschn/network-delay-calculators","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tddschn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-31T04:05:18.000Z","updated_at":"2023-09-01T17:15:12.000Z","dependencies_parsed_at":"2025-01-17T04:46:50.288Z","dependency_job_id":"55843304-4f52-41a4-a9b8-22648e365cd2","html_url":"https://github.com/tddschn/network-delay-calculators","commit_stats":null,"previous_names":["tddschn/network-delay-calculators"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fnetwork-delay-calculators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fnetwork-delay-calculators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fnetwork-delay-calculators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fnetwork-delay-calculators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/network-delay-calculators/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277652,"owners_count":20101536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-networks","packet-switching","python3"],"created_at":"2024-11-16T12:07:43.903Z","updated_at":"2025-03-06T19:43:32.383Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# End-to-end Network Delay Calculator\n\nBased on https://github.com/ashxjain/End-To-EndDelayFinder\n\n- [End-to-end Network Delay Calculator](#end-to-end-network-delay-calculator)\n  - [SYNOPSIS](#synopsis)\n  - [Features](#features)\n  - [Examples](#examples)\n  - [Note](#note)\n\n\n## SYNOPSIS\n\n* End-EndDelay2links.py is a python program to compute end-to-end transmission in a network connecting Host A to Host B via a router R using store and forward switching.\n* End-EndDelay3links.py is a python program to compute end-to-end transmission in a network connecting Host A to Host B to Host C via two routers R1,R2 using store and forward switching.\n\n## Features\n\n- Removed legacy code (`getopt` \u0026 Python 2 syntax), added detailed help messages\n- Allows specifying transmission and propagation delays directly\n- Uses the `decimal` library for accurate floating point arithmetic\n- Beautiful markdown table output\n- Shows when which packet arrives at which hop, and the queueing delays\n\n## Examples\n\n```\n$ ./End-EndDelay3links.py -h\n\nusage: End-EndDelay3links.py [-h] [--t1 T1] [--t2 T2] [--t3 T3] [--T1 T1] [--T2 T2] [--T3 T3] [--d1 D1] [--d2 D2] [--d3 D3] [--D1 D1] [--D2 D2] [--D3 D3]\n                             [-N N] [-M M] [-S S] [-p P]\n\nCalculate network transmission and propagation delays.\n\noptions:\n  -h, --help  show this help message and exit\n  --t1 T1     Transmission Delay (link speed) at Link1 (value in Mbps) (default: 1)\n  --t2 T2     Transmission Delay (link speed) at Link2 (value in Mbps) (default: 1)\n  --t3 T3     Transmission Delay (link speed) at Link3 (value in Mbps) (default: 1)\n  --T1 T1     Transmission Delay at Link1 (value in milliseconds) (default: None)\n  --T2 T2     Transmission Delay at Link2 (value in milliseconds) (default: None)\n  --T3 T3     Transmission Delay at Link3 (value in milliseconds) (default: None)\n  --d1 D1     Distance of Link1 (value in KM) (default: 1)\n  --d2 D2     Distance of Link2 (value in KM) (default: 1)\n  --d3 D3     Distance of Link3 (value in KM) (default: 1)\n  --D1 D1     Propagation Delay at Link1 (value in milliseconds) (default: None)\n  --D2 D2     Propagation Delay at Link2 (value in milliseconds) (default: None)\n  --D3 D3     Propagation Delay at Link3 (value in milliseconds) (default: None)\n  -N N        Number of Packets (default: 1)\n  -M M        Packet Size (value in Mbits) (default: 1)\n  -S S        Propagation Speed (speed in 10^8m/s) (default: 1)\n  -p P        Router Processing Time (processing time in milliseconds) (default: 0)\n  ```\n\n```\n$ /End-EndDelay3links.py --t1 10 --t2 1 --t3 10 --D1 10 --D2 90 --D3 10 -N 3 -M 0.05\n\n| Packet | A (ms) | R1 (ms) | R2 (ms) | B (ms) | Queue Delay1 (ms) | Queue Delay2 (ms) |\n| :----- | -----: | ------: | ------: | -----: | ----------------: | ----------------: |\n| P1     |      0 |      15 |     155 |    170 |                 0 |                 0 |\n| P2     |      5 |      20 |     205 |    220 |                45 |                 0 |\n| P3     |     10 |      25 |     255 |    270 |                90 |                 0 |\n```\n\n## Note\n\nPlease attribute the original authors (Teddy Xinyuan Chen (@tddschn) and Ashish Jain (@ashxjain)) if you use this code in your (home)work.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fnetwork-delay-calculators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Fnetwork-delay-calculators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fnetwork-delay-calculators/lists"}