Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Monitor internet speed

Project description

Speed Monitor

Monitor internet speed.

Server listens for measurements. Post speed measurements to server to persist them. Clients conduct measurements speedtest-cli and post to server.

Quick start

pip install speedmonitor

Start local client that saves speed to local json file speedtest.json

python -m speedmonitor

Start remote client that pushes measurements to speedmonitor server

SPEEDMONITOR_HOST=http://192.168.1.67:5000 python -m speedmonitor

The above requires the server to be running on host 192.168.1.67. To start server run the following commmand on host

./serve.sh

Advanced options for client

SPEEDMONITOR_LOCATION='top_bedroom' SPEEDMONITOR_INTERVAL_SECONDS=60 SPEEDMONITOR_FILENAME='speedmonitor.hdf' SPEEDMONITOR_LOGLEVEL=INFO python -m speedmonitor

Development

python setup.py develop
pip install -r requirements-dev.txt

Running tests

py.test

Local measurements

Conducting measurements

SPEEDMONITOR_LOCATION='top_bedroom' SPEEDMONITOR_INTERVAL_SECONDS=60 SPEEDMONITOR_FILENAME='speedmonitor.hdf' python -m speedmonitor

Project details


Download files

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

Files for speedmonitor, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size speedmonitor-0.0.7-py3-none-any.whl (22.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page