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.
-
Uninstall the previous version of the Speedtest Package if already installed in your machine
pip uninstall speedtest -
Install the Speedtest Package using the following command:
pip install speedtest-cliOfficial Documentation: https://pypi.org/project/speedtest-cli/
-
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