Skip to main content

A tool for measuring Internet connection quality in a structured way.

Project description

PyPI version PyPI Supported Python Versions GitHub license GitHub Actions (Tests)

Netmeasure

A library for measuring Internet connection quality in a structured and consistent way.

Purpose

There are a variety of services, clients, tools, and methodologies used to measure Internet connection quality. Each of these has its own advantages, flaws, biases and units of measurement.

Netmeasure brings together a variety of Internet connection quality measurements in a single library with a consistent interface and explicitly-defined units.

An open-source license ensures methodology is transparent and open to ongoing community improvement.

Measurements

  • file_download - measures download of a file from a given endpoint using the wget application.
  • ip_route - measures network hops to a given endpoint using the scapy library.
  • latency - measures latency to a given endpoint using the ping application.
  • netflix_fast - measures download from the netflix fast service using the requests library.
  • speedtest_dotnet - measures download from, upload to and latency to the speedtest.net service using the speedtest-cli library.
  • webpage_download - measures download of a given web page and its associated assets using the requests library.
  • youtube_download - measures download of a given youtube video using the youtube-dl library.

Usage

...

Requirements

netmeasure supports Python 3.8 to Python 3.11 inclusively.

Development

Git hooks

pre-commit hooks are included to ensure code quality on commit and push. Install these hooks like so:

$ pre-commit install && pre-commit install -t pre-push
asd

Publishing a release

  1. Install poetry

  2. Checkout the release:

    $ git checkout v<x>.<y>.<z>
    
  3. Publish the release:

    $ poetry publish --build
    

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

netmeasure-1.2.0.tar.gz (41.3 kB view details)

Uploaded Source

Built Distribution

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

netmeasure-1.2.0-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file netmeasure-1.2.0.tar.gz.

File metadata

  • Download URL: netmeasure-1.2.0.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.7 Linux/5.19.0-35-generic

File hashes

Hashes for netmeasure-1.2.0.tar.gz
Algorithm Hash digest
SHA256 820e4d7d2cc34dc845d57b4014298619c0975e4491f744b5238e3dfb6c9febc6
MD5 8ca7cd4ff2c560e7ee7c8973f438712f
BLAKE2b-256 b9da15f13db5b5953c723c7233c021c1afd30f9ecb79fa6aa8f63fa09796872f

See more details on using hashes here.

File details

Details for the file netmeasure-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: netmeasure-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.7 Linux/5.19.0-35-generic

File hashes

Hashes for netmeasure-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55ae7b9354473ea7233e84e5a1d76caaa2b9e622ba93149e6362530a5cd2f3d8
MD5 53e45afe946323226e885bd66ff45900
BLAKE2b-256 f45ace1b461d1f6876c678956f0d0ef7bc5cccc4a36ce96598a064fa122a69f6

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