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.0.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.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speedtest_cloudflare_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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.0.tar.gz
Algorithm Hash digest
SHA256 e9b7ad45947a0ff8705dbfc573ed6ac3157b030ee3f44fa5e7d7ddffc083a6e8
MD5 f9ed41c96c7f407655297aa4d4394171
BLAKE2b-256 c00783248ee542138ab4140a4fab8c9363b61d183d95449d00afa626e5f342f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speedtest_cloudflare_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4dd903fbc801af49d08253b1dba6a34db75e75a0e606cb11734753abd06badc
MD5 235ab47a986ea0d5c25f868615d3e5f6
BLAKE2b-256 2a3d4574c276b89f5e2e515faa82e23a7fc98bc2052f32790701883a36d3e561

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