Is there a library for python that implements the SpeedTest.net test, or an equivalent test of internet connection speed?
Is there a library for python that implements the SpeedTest.net test, or an equivalent
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a project on GitHub called SpeedCheck. It will go and fetch a given URL (defaults to SoftLayer) and reports the average transfer rate in bytes per second.
When I run it:
This means that my average speed was 3323051 B/s, or 3.169 MB/s. Checking my network transfer rate while the test was running, it looks correct.
This is for download speeds only. You could probably do something similar for uploading, but you would need to find a well-distributed server that allows posting test uploads to measure the speed. I’m not aware of any.