Skip to content

CangShui/speedtest-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Multi-Threaded Speedtest Downloader

screen

A Python script to perform high-speed downloads from multiple Speedtest servers using multiple threads per server. It includes features like automatic thread restart on slow connections and total traffic limit enforcement.

Features

  • Download from multiple Speedtest servers simultaneously.
  • Configurable total number of threads.
  • Automatic thread restart if download speed drops below a threshold (50 KB/s by default).
  • Tracks total data usage and stops automatically when a user-specified traffic limit (GB) is reached.
  • Displays all download servers at startup, with countries highlighted in red.
  • Real-time display of downloaded traffic and instantaneous speed (refreshed every second).

Requirements

  • Python 3.11+
  • requests library

Installing dependencies

# Using pip in a virtual environment
python3 -m venv venv
source venv/bin/activate
pip install requests

Note: Installing packages system-wide on Debian/Ubuntu may require using apt or pipx.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages