A Python tool to run network speed tests multiple times and calculate the average results for Download, Upload, Ping, and Data Usage.
- Multiple Runs: Run the speedtest as many times as you want to get a stable average.
- Comprehensive Metrics: Measures Download Speed, Upload Speed, and Ping.
- Data Usage Reporting: Tracks data consumed during the tests (per run, total, and average).
- GUI Version: Easy-to-use graphical interface built with Tkinter.
- CLI Version: Command-line script for quick execution.
-
Clone the repository:
git clone https://github.com/vuuminhphuoc/speedtest_avg.git cd speedtest_avg -
Install dependencies:
pip install -r requirements.txt
Run the graphical interface:
python speedtest_gui.py- Enter the number of runs (default is 10).
- Click Start Speedtest.
- View real-time logs and final average results.
Run the command-line script (defaults to 10 runs):
python speedtest_avg.py- Python 3.x
speedtest-clilibrary