All Projects → slavkobojanic → Cmonoptus

slavkobojanic / Cmonoptus

Why am I not getting what I pay for?

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Cmonoptus

speed-cloudflare-cli
📈 Measure the speed and consistency of your internet connection using speed.cloudflare.com
Stars: ✭ 99 (+182.86%)
Mutual labels:  test, internet, speed
React Pinpoint
An open source utility library for measuring React component render times.
Stars: ✭ 93 (+165.71%)
Mutual labels:  speed, test
mtr-monitor
Simple MTR runner with grafana and influxdb on board
Stars: ✭ 48 (+37.14%)
Mutual labels:  internet, speed
React Generate Props
Generate default props based on your React component's PropTypes
Stars: ✭ 23 (-34.29%)
Mutual labels:  test
Pytest Patterns
A couple of examples showing how pytest and its plugins can be combined to solve real-world needs.
Stars: ✭ 24 (-31.43%)
Mutual labels:  test
Zonkeynet
RADIO Mesh Network
Stars: ✭ 12 (-65.71%)
Mutual labels:  internet
Mts
Project of Multi-protocol Test Tool opensourced by Ericsson
Stars: ✭ 34 (-2.86%)
Mutual labels:  test
Jest In Case
Jest utility for creating variations of the same test
Stars: ✭ 902 (+2477.14%)
Mutual labels:  test
Cypress
Fast, easy and reliable testing for anything that runs in a browser.
Stars: ✭ 35,145 (+100314.29%)
Mutual labels:  test
Capture Stream
Capture stream output.
Stars: ✭ 10 (-71.43%)
Mutual labels:  test
Blink Java
Simplified pure Java http server
Stars: ✭ 10 (-71.43%)
Mutual labels:  test
Django Jenkins
Plug and play continuous integration with django and jenkins
Stars: ✭ 933 (+2565.71%)
Mutual labels:  test
Mini Test.c
Minimalistic portable test runner for C projects
Stars: ✭ 12 (-65.71%)
Mutual labels:  test
Phpstorm Plugin
Integrate atoum inside PhpStorm
Stars: ✭ 23 (-34.29%)
Mutual labels:  test
Jaymock
Minimal fake JSON test data generator.
Stars: ✭ 28 (-20%)
Mutual labels:  test
Diffuse
Diffuse is library that aims to simplify the diffing of two collections
Stars: ✭ 23 (-34.29%)
Mutual labels:  speed
Chakram
REST API test framework. BDD and exploits promises
Stars: ✭ 912 (+2505.71%)
Mutual labels:  test
Auto Cpufreq
Automatic CPU speed & power optimizer for Linux
Stars: ✭ 843 (+2308.57%)
Mutual labels:  speed
Ethernetshieldlist
List of Arduino Ethernet Shields
Stars: ✭ 8 (-77.14%)
Mutual labels:  internet
Test Pack
A Symfony Pack for functional testing
Stars: ✭ 865 (+2371.43%)
Mutual labels:  test

CmonOptus

CmonOptus is a python3 script which runs speed tests every now and again, to see whether the speeds that you're currently getting; are similar to that of what you pay for.

Credit

These users helped me improve this script.

Dependencies

Installation

Part A - Downloading the files

Installing Dependencies

All four dependencies can be installed with Python's package manager, pip.

Option 1 - Installing dependances globally

Once you have pip installed, you can install the four dependencies with:

pip install pyspeedtest tweepy pyyaml

Option 2 - Installing VirtualENV for contained environment

Instead of installing the dependancies globally and potentially breaking other apps, you can install the dependancies in a contained environment. First install virtualenv with:

pip install virtualenv

then set up the virtual environment inside the root repo folder:

virtualenv venv

venv is the name of the folder where all the dependancies will be stored. Now activate venv using the method for your operating system.

Linux/Mac: source venv/bin/activate

Windows: ./venv/Scripts/activate

A requirements file has been created to make installation easier, just type the following to finish installing the dependancies.

pip install -r requirements.txt

You will need to have virtualenv activated whenever you are working, running, or developing on the project. Follow the above instructions again to activate. When finished, you can deactivate by typing deactivate.

Installing CmonOptus

Option 1 - Downloading here

Simply press the download button on this page, then proceed to press 'Download as ZIP'.

Option 2 - Downloading through Git

  1. Firstly, you will need to download Git.
  2. To do this you need to navigate to the following page: git-scm.com.
  3. You should then hit the download button which can be found on that page.
  4. After downloading, install the software as you would any other (just hit next...)
  5. Navigate to your desired directory in Terminal or Command Prompt and execute the following command -
    git clone https://github.com/slavkobojanic/CmonOptus
  6. If you check the folder that you designated to put it in; you should see a folder called 'CmonOptus'.

Part B - Creating a Twitter App

  1. Head to the Twitter App Site.
  2. Hit 'Create New App'.
  3. Fill in the form displayed (only name, description, and website are needed), and agree to the developer agreement.
  4. Hit 'Create App'.
  5. You are now on your app management page, here you can find your app's details.
  6. Hit the 'Keys and Access Tokens' tab near the top of the page.
  7. It will display your consumer key and consumer secret.
  8. To get your access key and access secret, scroll down and hit 'Create my access token'. The page will refresh and display your access codes.
  9. Keep these close-by because they are important for the next part (consumer key, consumer secret, access key, access secret).

Part C - Setting up the config.yaml file

  1. In that /CmonOptus/ folder there is a file named 'config.yaml', open up this file in your favorite text editor and alter the values as needed.
  2. consumer_key, consumer_secret, access_token, and access_token_secret are on the Twitter App Keys and Tokens page
  3. check_interval value should be how often you want the software to run the speed test in seconds (the software randomly generates a time between check_interval0.75 and check_interval1.25, to look more legitimate).
  4. timeout_interval value will set a hard limit on how often CmonOptus can tweet. For example, it has a default of no more than once every hour (3600 seconds).
  5. paid_upload_speed and paid_download_speed should be the internet speed promised in your contract, in Mb/s.
  6. service_provider is the twitter handle of your ISP, keep the twitter handle wrapped in quotes.
  7. location is the state or province you are testing/located in.

Part D - Running the app.

Option A - Simple

  1. Simply run the command (this may be different if you choose to rename the file) - python3 CmonOptus.py
  2. Monitor the software to make sure it's working properly.
  3. Voila.

Option B - Advanced

  1. You can make as many '.yaml' files as you like with different app details, if you have multiple apps.
  2. Run the command - python3 CmonOptus.py (filename).yaml
  3. Monitor the software to make sure it's working properly.
  4. Voila.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].