def parse(xml_or_file, parser=None):

    from . import gpx as mod_gpx
    from . import parser as mod_parser

    parser = mod_parser.GPXParser(xml_or_file, parser=parser)

    return parser.parse()
Parse xml (string) or file object. This is just an wrapper for
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/__init__.py/parse