This script will check your internet speed and with Download and Upload speed , it will also check the ping of your internet connection with your Internet Service Provider.
-
Install the Speedtest Package using the following command:
pip install speedtest
Official Documentation: https://pypi.org/project/speedtest/
-
Run the script
The output will be like this:
Internet Speed Checker
21:22:38
Connecting to server...
Download: 1.74 Mbit/s
Upload: 22.80 Mbit/s
Ping: 101.68 ms
ISP: Alliance Broadband Services Pvt.
Name: Abhishek Kushwaha