Supported ISPs

All ISP implementations inherit from the base Tekuila class.

TekSavvy

TekSavvy

class tekuila.isp.teksavvy.Teksavvy(apikey=None, cap=None, warn_ratio=None, verbose=False)[source]

Bases: tekuila.tekuila.Tekuila

Parse implementation for TekSavvy API

fetch_data()[source]

Pull JSON data from TekSavvy api url using API key pulled from config file set by user.

print_data(verbose=False)[source]

Prints the data pulled from the JSON results. Can be forced or defaulted to print if verbose is set in __init__

Parameters:verbose – Print details.

Start.ca

Start.ca

class tekuila.isp.startca.StartCA(apikey=None, cap=None, warn_ratio=None, verbose=False)[source]

Bases: tekuila.tekuila.Tekuila

Fetch and parse Start.ca quota API

static b_to_GB(value)[source]

Convert from bytes to GB.

Parameters:value – The value in bytes to convert to GB.
Returns:Converted GB value
fetch_data()[source]

Pull XML data from Start.ca API url using API key. Store it within the class for processing.

print_data(verbose=False)[source]

Prints the data pulled from the JSON results. Can be forced or defaulted to print if verbose is set in __init__

Parameters:verbose – Print details.