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 -cli
or simply do
pip install requirments.txt
(make sure you have uninstalled previous version of speedtest using pip unistall speedtest) new 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