Skip to main content

A simple command-line app that runs a internet speedtest in a determined interval of time

Project description

trackyournet

A simple command-line app that runs an internet speedtest in a determined interval of time, so you can blame your internet provider because of their slow internet.

You can install trackyournet with pip:

pip install trackyournet

How to use?

After installing use the trackyournet command on your terminal, check the usage above.

trackyournet [-h] -u {week, day, hour, min} -f FILE [-r REPEAT] interval

interval is the interval between speedtests. (Required; Integer)

-u or --unit is the unit of interval: week, day, hour, or min (Minute). (Required; String)

-f or --file receives a path pointing to an SQLite database or a directory where the data will be allocated (The database will be created if it doesn't exist). (Required; String)

-r or --repeat is the amount of speedtest that will be run before exiting. (Optional; Integer)

-h or --help prints the help message.

After starting, you can stop the application using Ctrl + C (Or whatever your terminal's abort key biding is). If repeat is passed it will stop running automatically after running the determined amount of speedstests.

NOTE: Stopping the application with Ctrl + C while a speedtest is being run/registered may cause some problems with the database.

Example

Let's say you would like to run ten speedtests with an interval of 15 minutes between them:

trackyournet 15 -u min -f {Your file/dir path here!} -r 10

Final Message

It's my first command line application and the first project I'm uploading to PyPI, so if you find a bug or have a suggestion, please, post it on issues.

(By the way, I pretend to add more ways of outputting the data)

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

trackyournet-1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

trackyournet-1.0-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page