def build_kvasir_url(
        proto="https", server="localhost", port="8443",
        base="Kvasir", user="test", password="test",
        path=KVASIR_JSONRPC_PATH):
    """
    Creates a full URL to reach Kvasir given specific data

    >>> build_kvasir_url('https', 'localhost', '8443', 'Kvasir', 'test', 'test')
    'https://test@test/localhost:8443/Kvasir/api/call/jsonrpc'
    >>> build_kvasir_url()
    'https://test@test/localhost:8443/Kvasir/api/call/jsonrpc'
    >>> build_kvasir_url(server='localhost', port='443', password='password', path='bad/path')
    'https://test@password/localhost:443/Kvasir/bad/path'

    :param proto: Protocol type - http or https
    :param server: Hostname or IP address of Web2py server
    :param port: Port to reach server
    :param base: Base application name
    :param user: Username for basic auth
    :param password: Password for basic auth
    :param path: Full path to JSONRPC (/api/call/jsonrpc)
    :return: A full URL that can reach Kvasir's JSONRPC interface
    """
    uri = proto + '://' + user + '@' + password + '/' + server + ':' + port + '/' + base
    return make_good_url(uri, path)
def build_kvasir_url ( proto = "https" , server = "localhost" , port = "8443" , base = "Kvasir" , user = "test" , password = "test" , path = KVASIR_JSONRPC_PATH ) : uri = proto + '://' + user + '@' + password + '/' + server + ':' + port + '/' + base return make_good_url ( uri , path )
Creates a full URL to reach Kvasir given specific data

    >>> build_kvasir_url('https', 'localhost', '8443', 'Kvasir', 'test', 'test')
    'https://test@test/localhost:8443/Kvasir/api/call/jsonrpc'
    >>> build_kvasir_url()
    'https://test@test/localhost:8443/Kvasir/api/call/jsonrpc'
    >>> build_kvasir_url(server='localhost', port='443', password='password', path='bad/path')
    'https://test@password/localhost:443/Kvasir/bad/path'

    :param proto: Protocol type - http or https
    :param server: Hostname or IP address of Web2py server
    :param port: Port to reach server
    :param base: Base application name
    :param user: Username for basic auth
    :param password: Password for basic auth
    :param path: Full path to JSONRPC (/api/call/jsonrpc)
    :return: A full URL that can reach Kvasir's JSONRPC interface