Skip to content

Instantly share code, notes, and snippets.

View bverhoeve's full-sized avatar

Brecht Verhoeve bverhoeve

View GitHub Profile
@bverhoeve
bverhoeve / parse_gpx.py
Created November 11, 2020 13:09
Parse GPX files to Xcode format
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'
@bverhoeve
bverhoeve / models.py
Last active September 23, 2021 19:20
Pipes & Filters models
@dataclass
class Item:
description: str
barcode: str
@dataclass
class Customer:
uid: UUID
name: str