Skip to main content

Speed CLI tool to test your network connectivity

Project description

Speed Test Icon

speedtest-cli

PyPI - Python Version PyPI - Version Release test build Commit activity License

SpeedTest Video demo SpeedTest dashboard

Installation

I strongly recommend to use pipx or uv to install this tool. These tools will install the package in an isolated environment and will not interfere with your system packages.

Using pipx

pipx install speedtest-cloudflare-cli

Using uv

uv tool install speedtest-cloudflare-cli

Using pip

[!WARNING]

It is not recommended to install this package using pip. It will install the package in your system packages and may interfere with other packages.

pip install speedtest-cloudflare-cli

Features

  • ⏱️ Time-Based Testing - 10 second default timeout per test for consistent, fast results
  • 🚀 Adaptive Test Sizing - Automatically adjusts test size based on your connection speed
  • 📊 Comprehensive Metrics - Download/upload speed, ping, jitter, and HTTP latency
  • 🌍 Cloudflare Infrastructure - Tests using Cloudflare's global network
  • 🎨 Beautiful Output - Rich terminal interface with progress bars and tables
  • 📄 Multiple Output Formats - Console, JSON, and interactive web dashboard
  • 🔒 Privacy Focused - No tracking, no accounts, open source

Usage

Run the following command to test your internet speed.

speedtest-cli

Speedtest output

By default, each test (download/upload) runs for 10 seconds and calculates speed based on data transferred. You can customize the timeout:

# 5 second timeout per test
speedtest-cli --timeout 5

# 20 second timeout for more accuracy
speedtest-cli --timeout 20

For more information, run the --help command.

speedtest-cli --help

Help output

Running in a container

Using Podman

podman run --rm -it ghcr.io/takitsu21/speedtest:latest

Using Docker

docker run --rm -it ghcr.io/takitsu21/speedtest:latest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

speedtest_cloudflare_cli-0.2.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speedtest_cloudflare_cli-0.2.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file speedtest_cloudflare_cli-0.2.2.tar.gz.

File metadata

  • Download URL: speedtest_cloudflare_cli-0.2.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for speedtest_cloudflare_cli-0.2.2.tar.gz
Algorithm Hash digest
SHA256 33119ba083c1c1ecb5013a10c5445529cfd69377bc28fee81088966aa68f4982
MD5 2496f1b9053bcf968a528d9f1bca8156
BLAKE2b-256 5e0674a775b12bb377c52e8c868559c711f11e7186b5e1275088a9a43105de63

See more details on using hashes here.

File details

Details for the file speedtest_cloudflare_cli-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: speedtest_cloudflare_cli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for speedtest_cloudflare_cli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14baa123c4c42ac51d1396662636a2b9b3fb531bc3d197ec4dd59280836e72f0
MD5 bd2b41043f08ccc9d6f5d75724b3cad2
BLAKE2b-256 6eef8d74184c42ad991473a518bb732a94250deffa267b687a4171f7df682f03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page