Skip to content

Commit

Permalink
fixed internet speed checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauravroy34 committed May 1, 2024
1 parent 3108d05 commit 3bc8580
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ This GUI App made with Tkinter will display your internet speed(upload and downl

1. Install the Speedtest Package using the following command:

`pip install speedtest`

[Learn More about speedtest library](https://pypi.org/project/speedtest/)
`pip install speedtest -cli`
<br>
or simply do
<br>
`pip install requirments.txt`
<br>
(make sure you have uninstalled previous version of speedtest using pip unistall speedtest)
new documentation: https://pypi.org/project/speedtest-cli/

2. Run the script

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from tkinter import *
from speedtest import Speedtest
from speedtest import Speedtest # first do pip unistall speedtest then do pip install

root = Tk()
root.title("Internet Speed Checker")
root.geometry('1920x1080')
root.resizable(True,True)

def get_speed():

speed = Speedtest()
download = speed.download()
upload = speed.upload()
Expand Down
2 changes: 2 additions & 0 deletions scripts/Blackjack/Internet Speed Tester/requirments.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
speedtest-cli
tkinter
10 changes: 8 additions & 2 deletions scripts/Internet Speed Checker/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ This script will check your internet speed and with Download and Upload speed ,

1. Install the Speedtest Package using the following command:

`pip install speedtest`
`pip install speedtest -cli`
<br>
or simply do
<br>
`pip install requirments.txt`
<br>
(make sure you have uninstalled previous version of speedtest using pip unistall speedtest)
new documentation: https://pypi.org/project/speedtest-cli/

Official Documentation: https://pypi.org/project/speedtest/

2. Run the script

Expand Down
2 changes: 1 addition & 1 deletion scripts/Internet Speed Checker/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Internet Speed Checker

import speedtest
import speedtest # first run pip uninstall speedtest then run pip install speedtest-cli
import time
import os

Expand Down
1 change: 1 addition & 0 deletions scripts/Internet Speed Checker/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
speedtest-cli

0 comments on commit 3bc8580

Please sign in to comment.