def get_dbs():
    """
    Get a list of all the Physiobank databases available.

    Examples
    --------
    >>> dbs = get_dbs()

    """
    url = posixpath.join(config.db_index_url, 'DBS')
    response = requests.get(url)

    dbs = response.content.decode('ascii').splitlines()
    dbs = [re.sub('\t{2,}', '\t', line).split('\t') for line in dbs]

    return dbs
def get_dbs ( ) : url = posixpath . join ( config . db_index_url , 'DBS' ) response = requests . get ( url ) dbs = response . content . decode ( 'ascii' ) . splitlines ( ) dbs = [ re . sub ( '\t{2,}' , '\t' , line ) . split ( '\t' ) for line in dbs ] return dbs
Get a list of all the Physiobank databases available.

    Examples
    --------
    >>> dbs = get_dbs()