Skip to main content

Package taking measurements for internet speed.

Project description

Net Speed Checker

net-speed-checker is a Python3 library for taking net speed measurements and persisting the measurements in RDBS.

Features

Installation

$ pip install net-speed-checker

Usage

python3 check_speed.py $PROCESS_NAME $DBMS $USER $SCHEMA $SERVER_PORT $PASSWORD

or

python3 check_speed.py local_dev mysql admin my_schema mysql-url.com:3306 pa$$w0rd

or

python3 -c 'from net_speed_checker import check_speed; check_speed.measure("local_dev", "mysql", "admin", "my_schema", "mysql-url.com:3306", "pa$$w0rd")'

Schema DDL

create table speed_measurement
(
	id int auto_increment
		primary key,
	client_name varchar(100) null,
	client_ip varchar(100) null,
	client_lat float null,
	client_lon float null,
	client_isp varchar(100) null,
	client_cc varchar(100) null,
	server_url varchar(100) null,
	server_lat float null,
	server_lon float null,
	server_cc varchar(100) null,
	server_city varchar(100) null,
	server_ping float null,
	upload float null,
	download float null,
	timestamp datetime not null,
	success tinyint(1) not null,
	message varchar(100) not null
);

License

MIT

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 net-speed-checker, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size net_speed_checker-0.3-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size net-speed-checker-0.3.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page