def get_default_gwf_api():
for lib in APIS:<EOL><INDENT>try:<EOL><INDENT>import_gwf_library(lib)<EOL><DEDENT>except ImportError:<EOL><INDENT>continue<EOL><DEDENT>else:<EOL><INDENT>return lib<EOL><DEDENT><DEDENT>raise ImportError("<STR_LIT>"<EOL>"<STR_LIT>".format('<STR_LIT:U+002CU+0020>'.join(APIS)))<EOL>
Return the preferred GWF library

    Examples
    --------
    If you have |LDAStools.frameCPP|_ installed:

    >>> from gwpy.timeseries.io.gwf import get_default_gwf_api
    >>> get_default_gwf_api()
    'framecpp'

    Or, if you don't have |lalframe|_:

    >>> get_default_gwf_api()
    'lalframe'

    Otherwise:

    >>> get_default_gwf_api()
    ImportError: no GWF API available, please install a third-party GWF
    library (framecpp, lalframe) and try again