Skip to content

This is a program that uses speedtest-cli python api to calculate internet speed, logs the result in a file and presents a visual representation

Notifications You must be signed in to change notification settings

Husseinelghoul/internet-speed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Internet Speed test

This is a program that uses speedtest-cli python api to calculate internet speed, logs the result in a file and presents visual representation

Requirements

  • git
  • python 3.0 or higher
  • python package installer pip
  • required packages in requierments.txt (please refer to How-To)

How-To

  • Start by cloning the repository using the following command git clone https://github.com/Husseinelghoul/internet-speed
  • Navigate to the code's directory cd internet-speed
  • Install the requierments using the following command pip install -r requierments.txt
  • Run the program using the following command py app.py
  • You will be prompted to enter the number of rounds (Number of tests to perform before exiting the program)

Interpreting Results

The resuls will appear on the command prompt and in log.txt file
When the program is done the visual representation will appear on the screen and two files will be generated plot.png and plot.pdf to save the plot
The log.txt file contains the following for each round:

  • internet speed in MBps
  • Date and Time the "get internet speed" request was made
  • The time it's taking to get your internet speed
  • The round number

Sample Output

Internet speed/ Round Graph

Sample Graph

About

This is a program that uses speedtest-cli python api to calculate internet speed, logs the result in a file and presents a visual representation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages