Giter Club home page Giter Club logo

internetspeedtest's Introduction

InternetSpeedTest

This repository consists of a few python scripts to automate the process of testing your internet connection and generating a linear regression model for the same. Models ping, download speed, upload speed vs distance, size. Makes use of Speedtest-cli by sivel as backbone for generating model for ping, downlaod speed, upload sped vs distance. This model generated is very rich and detailed. While makes use of TELE2 for making multi variable linear model incorporating ping,downlaod speed, upload speed vs distance, file size. This model is not as rich as the previous one since it is dependent highly on TELE2 as a service which doesn't provide a very good spread on distance

Repository Contents

  • src
    • speedTestMultiServer.py: This script will run commands with the speedtest-cli. It extracts list of servers on speedtest.net and then hits each of the servers to perform tests. The results are then saved in results.csv
    • processData.py: This script extracts data from results.csv and generates a linear regression model from the data. By default model is made for downloadSpeed vs distance, file can be changed to model other aspects.
    • sizeTest.py: This runs tests on TELE2 and generates sizeResults.csv which contains server_name, size, upload/download operation performed, speed and time taken.
    • processSizes.py: This script takes sizeResults.csv as input and processes the data to make a multivariable linear model.

Dependencies

  • Requires Python 2.7
  • Requires following python packages
    • subprocess
    • os
    • pyplot
    • numpy
    • statsmodel
    • seaborn
    • pandas

Use

  1. Clone speedtest-cli
  2. Move src folder inside speedtest-cli/
  3. Run in following order
  4. speedtestMultiServer.py
  5. processData.py (options can be changed by uncommenting lines for different results)
  6. sizeTest.py
  7. processSizes.py (options can be changed by uncommenting lines for different results)

internetspeedtest's People

Contributors

gupta409 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.