ravnoor / eboxbw

Electronic Box cable Internet bandwidth usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eboxbw

eboxbw is a Python 3 package and a command line interface for getting Electronic Box cable Internet bandwidth usage (Québec only). It is based on this tool.

eboxbw supports Electronic Box's Super off peak option.

reliability

Unfortunately, Electronic Box does not provide any sort of public API to obtain a user's bandwidth usage data; eboxbw has to rely on parsing the web interface's HTML output. This exact HTML output changes from time to time, when Electronic Box decides so, which often results in eboxbw not working anymore.

There have been several attempts to ask Electronic Box to create a public API, but so far they won't.

installing

easy way

sudo pip install eboxbw

If Python 3 isn't the default Python of your setup:

sudo pip3 install eboxbw

You might want to install the Python dependencies with your distribution package manager. They are:

manual way

Make sure you have Python 3 and setuptools.

Clone using Git and run setup.py:

git clone https://github.com/eepp/eboxbw.git
cd eboxbw
sudo python3 setup.py install

using

command line interface (with colors!)

Simple lookup (current month summary):

eboxbw vlabcdef

Current month details:

eboxbw --details vlabcdef
eboxbw -d vlabcdef

Current month summary, MiB:

eboxbw --unit m vlabcdef
eboxbw -um vlabcdef

All options reference:

eboxbw --help

Detailed output example:

Detailed output screenshot

About

Electronic Box cable Internet bandwidth usage


Languages

Language:Python 100.0%