Guppy
Ruby lib to parse tcx and gpx files from GPS devices
Install / Use
/learn @rubyist/GuppyREADME
= Guppy - Ruby library for handling tcx files
This library provides a set of classes for working with tcx and gpx dumps from GPS devices such as the Garmin Forerunner 305.
== Examples db = Guppy::Db.open('foo.tcx') db.activities.each do |activity| puts activity.date end
run = db.activity('2009-01-12T19:28:18Z') run.laps.each do |lap| puts "Lap Time: #{lap.time}" puts "Lap Distance: #{lap.distance}" puts "Lap Calories: #{lap.calories}" lap.track_points.each do |track_point| puts "#{track_point.latitude} #{track_point.longitude}" end end
== TODO
- Get aggregated pace and heart rate signals for an activity
- Make it faster and avoid re-parsing the db in some instances
- A nicer way to find a specific activity
= Other Stuff
Author:: Scott Barron <scott at elitists dot net> License:: Copyright 2009 by Scott Barron. Released under an MIT-style license. See the MIT-LICENSE file included in the distribution. GitHub:: http://github.com/rubyist/guppy/tree/master
== Warranty
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
