This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@dataclass | |
class Item: | |
description: str | |
barcode: str | |
@dataclass | |
class Customer: | |
uid: UUID | |
name: str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import os | |
from typing import List | |
import gpxpy | |
# Use | |
# Put the GPX files you want to parse in a folder 'gpx_files' next to this file | |
# Execute the file in a terminal: 'python3 parse_gpx.py' | |
# The output GPX files will be in a folder called 'parsed_files' |