PyGarmin
This lets you do things like downloading the tracks and waypoints stored on your device, and I’m pleased and surprised to find people are still using it: it was written in this millennium, but only just!
You can get it from the PyGarmin GitHub project page.