Skip to main content

Script for checking TekSavvy (and other ISP) Quotas

Project description

Interface for querying your ISP download quota.

“Have you had to much to download?”

Build Status Latest Version released on PyPi Latest Version released on Github License

Versions

Works with python 2.7, 3.4, 3.5

Pull your ISP Quota and act on it.

Supported ISPs:

To avoid using command line flags create a config file at:

~/.tekuila

Place the following variables within the config file:

API=<your API KEY from https://myaccount.teksavvy.com/ApiKey/ApiKeyManagement>
CAP=<your cap in GB>
WARN_RATIO=<ratio % to warn in 0.1 increments up to 1.0>

Installation

To install, run the following:

pip install tekuila

Or, if you wish to install the latest from source:

git clone https://github.com/mikeodr/tekuila
cd tekuila
python setup.py install

API Usage

ReadTheDocs.

Console Usage

Console command help:

tekuila -h
usage: tekuila [-h] [-c CONFIG] [--cap CAP] [--api API] [--warn WARN] [-v]
               [-s] [--version]

Check TekSavvy Cap

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Alternative config file
  --cap CAP             Your cap in GB, causes nonzero return code if exceeded
  --api API             API Key
  --warn WARN           Warn ratio against data cap, causes nonzero return
                        code if exceeded, in range 0.1 to 1.0
  -v, --verbose         Show output, don't just use return code
  -s, --startca         Use StartCA instead of TekSavvy API
  --version             show program's version number and exit

Pull Requests and Issues

Pull requests very much welcome. Check that it complies with pep8, please make sure the documentation builds.

Please use elementary commits vs big commits and try and have your commit messages be detailed. See Tim Pope’s excellent Guide.

License

GPLv2

Project details


Download files

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

Source Distribution

tekuila-3.0.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

tekuila-3.0.2-py2-none-any.whl (16.3 kB view details)

Uploaded Python 2

File details

Details for the file tekuila-3.0.2.tar.gz.

File metadata

  • Download URL: tekuila-3.0.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1

File hashes

Hashes for tekuila-3.0.2.tar.gz
Algorithm Hash digest
SHA256 76779c10396ce4bef3ea5152cb7ffef206a689b088e20a2b7fbcb22d6925f786
MD5 5668cc3bb90dcfd320556746a3407b0a
BLAKE2b-256 c0b35d5676079aeb5480f6f91c64a0ceac09a3899b4c438bb8f11f48302b4845

See more details on using hashes here.

File details

Details for the file tekuila-3.0.2-py2-none-any.whl.

File metadata

  • Download URL: tekuila-3.0.2-py2-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1

File hashes

Hashes for tekuila-3.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 fe46597277d21d6627211038acda0cbff178e101aa15a3a37aac09577edac546
MD5 ea89439efcb4005d24c2b479dbb08d48
BLAKE2b-256 002c2db279c69ebab89e899b48d560e628f28f22cd91edc8ecf05c2242559b0a

See more details on using hashes here.

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