WSL2 • xterm-256color • bash 154 views

šŸ InternetSpeedTest-Py — a fast, lightweight, and privacy-friendly Python library & CLI for testing your internet speed.
Built by InternetSpeedTest.net, this open-source tool lets you measure ping, download, and upload speeds right from your Python scripts or terminal — with zero tracking and 100% transparency.


šŸŽ„ In This Demo

This video demonstrates how to:

  1. Install InternetSpeedTest-Py using pip
  2. Run a quick speed test from the command line
  3. Use the Python API to integrate speed testing in your own scripts
  4. Export and analyze results with JSON or CSV

āš™ļø Key Features

  • šŸš€ Fast & accurate download/upload measurements
  • šŸ”’ Privacy-focused (no telemetry or tracking)
  • 🧩 Python API + CLI included
  • 🧰 JSON, CSV, and simple text output formats
  • šŸŒ Global test servers with smart auto-selection

šŸ’» Quick Usage

# Install from PyPI
pip install internetspeedtest

# Run a simple test
internetspeedtest-py

# Get JSON output
internetspeedtest-py --json

Python API usage

from internetspeedtest import SpeedTest

st = SpeedTest()
results = st.run()
print(f"Ping: {results.ping} ms, Download: {results.download} Mbps, Upload: {results.upload} Mbps")

Learn More