copied form speedtest-cli
To reserve bandwidth, this program only sends packets to speedtest websit and gets some configurations for this site. it will not do download/upload test.
so dont worry that it will occupies your bandwidth
Command line interface for testing internet bandwidth using speedtest.net
speedtest-cli works with Python 2.4-3.7