A Python-based tool for monitoring and logging your network's speed, utilizing the Speedtest CLI by Ookla. This local utility periodically checks your network's latency, download, and upload speeds, and logs the results for review.
- Automated Speed Tests: Utilizes the Speedtest CLI for accurate network speed measurements.
- Configurable Intervals: Set the interval between consecutive network speed tests.
- Detailed Logging: Maintains logs for different network types (Ethernet, Wi-Fi) to track performance over time.
- Python 3.x
- Speedtest CLI (Refer to the Speedtest CLI documentation for installation instructions.)
- Ensure the Speedtest CLI is installed and accessible from your command line.
- Clone this repository to your local machine.
- Install any required Python dependencies (if specified).
Execute main_v2.py
to start the speed monitoring process. The script will perform network speed tests at the configured intervals and log the results in designated files.
python main_v2.py
##Logs Speed test results are logged in the following files:
speedtest_log_Ethernet.txt
for Ethernet connectionsspeedtest_log_Wi-Fi.txt
for Wi-Fi connections
Modify the main_v2.py
script to adjust the target file type, test intervals, or other parameters according to your requirements.
This tool is for educational and testing purposes only. It showcases the capabilities of automating network speed tests using Python and the Speedtest CLI. The author is not liable for any misuse or for any network disruptions or damages caused by using this tool.
This project is open-source and available under the MIT License. Feel free to use, modify, and distribute as needed.