python modules check bandwidth code example
Example 1: how to test wifi speed py
sudo pip install pyspeedtest
Example 2: how to test wifi speed py
$ pyspeedtest
Using server: speedtest.serv.pt
Ping: 9 ms
Download speed: 148.17 Mbps
Upload speed: 18.56 Mbps