25/05/2018: This project got featured in Import Python!
- Go to Twitter Apps and register an application.
- Clone this repository.
$ git clone https://github.com/crlsmnzs/InternetSpeedNagger
or download as a ZIP.
- Open a terminal window in the location you cloned/extracted the repository to and install the modules in
requirements.txt.
pip install -U -r requirements.txt
- Open
InternetSpeedNagger.pyand edit the first four variable values with information from the application you registered in step 1. - Change other information you deem necessary.
If your internet speed is higher than 100MB/s, you might want to change these lines:
dSpeed = dSpeed[0][0:2] + '.' + dSpeed[1][0:2]
uSpeed = uSpeed[0][0:2] + '.' + uSpeed[1][0:2]to
dSpeed = dSpeed[0][0:3] + '.' + dSpeed[1][0:2]
uSpeed = uSpeed[0][0:3] + '.' + uSpeed[1][0:2]in order to encapsulate the first 3 digits.
This Twitter account is currently running this script. You can check it out to see how the script works.