2025-11-19 00:24:15 +01:00
2025-10-01 19:07:39 +02:00
2025-10-01 09:58:51 +02:00
2025-10-01 09:58:51 +02:00
2025-11-19 00:24:15 +01:00
2025-10-01 10:12:37 +02:00
2025-11-19 00:24:15 +01:00
2025-11-19 00:24:15 +01:00
2025-11-19 00:24:15 +01:00
2025-11-19 00:24:15 +01:00

Internet speed testing

Speed-Testing

The speedtesting.py script connects to cloudflare to test the internet speed.

Running the test

Execute the command in the speedtesting/ directory: .python/bin/python speedtesting.py

The Output

The script creates an output file results_dd_mm_yyyy.csv. The first line of the csv file shows which data is in which column.

Plotting the Data

The plot_concatenate.py script plots the data of all given csv files in one big plot. The plot_average.py script plots the data of all given csv files by flooring the times to the nearest hour and then averaging all them producing a plot for the averages at every hour.

Usage

Execute the command: .python/bin/python plot_concatenate.csv path/to/results_1.csv path/to/results_2.csv ....

or

Execute the command: .python/bin/python plot_average.csv path/to/results_1.csv path/to/results_2.csv ....

Output

It creates a bandwidth.svg and a ping_jitter.svg, with the plot for up and down and the plot for ping and jitter respectively. The x-Axis shows the time when the data was recorded and the y-Axis shows Mbps or ms.

Description
Small scripts to test internet speeds and plot the data
Readme MIT 33 KiB
Languages
Python 97.7%
Shell 2.3%