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
Release files for net-speed-checker 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| net-speed-checker-0.3.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| net_speed_checker-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:8.1 kB
Release files / net-speed-checker-0.3.tar.gz
| Download URL | net-speed-checker-0.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94a966da781827348d0e1443ae7a93444a716f1eeb10fa464ff7d1786cf456f2
|
|
BLAKE2b-256 checksum How to use checksums |
8c2889c89cd513322d7e6c344c74e02582e410e8c430ccda66de388193d9c3b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0a4
|
Release files / net_speed_checker-0.3-py3-none-any.whl
| Download URL | net_speed_checker-0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11ed0c17315ff215053f5fab922920f963f5296bc4b72b7ba4a66aa3f7a7314f
|
|
BLAKE2b-256 checksum How to use checksums |
b9654b1d17372be1d94d2c87a26034b81f29bb212ea99be90f6c9ccb1d74c7df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0a4
|