{"id":28546334,"url":"https://github.com/astrowonk/gpxrun","last_synced_at":"2026-04-28T00:33:23.612Z","repository":{"id":101311033,"uuid":"391469463","full_name":"astrowonk/gpxrun","owner":"astrowonk","description":"Python module to analyze GPX garmin files. Basic analysis includes pace, distance, splits, speed, etc.","archived":false,"fork":false,"pushed_at":"2024-02-28T12:27:00.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-07T04:41:19.541Z","etag":null,"topics":["analysis","analyze","garmin","gps","gpx","pace","pandas","running","workouts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astrowonk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-07-31T21:45:37.000Z","updated_at":"2024-02-28T12:27:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4918f26-c259-4e9b-acf9-af0e69cfb62b","html_url":"https://github.com/astrowonk/gpxrun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/astrowonk/gpxrun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrowonk%2Fgpxrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrowonk%2Fgpxrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrowonk%2Fgpxrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrowonk%2Fgpxrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astrowonk","download_url":"https://codeload.github.com/astrowonk/gpxrun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrowonk%2Fgpxrun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32361477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","analyze","garmin","gps","gpx","pace","pandas","running","workouts"],"created_at":"2025-06-09T23:38:55.725Z","updated_at":"2026-04-28T00:33:23.607Z","avatar_url":"https://github.com/astrowonk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gpx Run - Analyze GPX files for pace/distance/time\n\nThis modules uses my [gpxcsv](https://pypi.org/project/gpxcsv/) module to convert to gpx files to pandas dataframes and perform simple analysis of speed, pace, and time. You can see it in action [via my web app](https://marcoshuerta.com/gpxrun/).\n\n## Install \n\n```python\ngit clone https://github.com/astrowonk/gpxrun.git\ncd gpxrun\npython setup.py install\n```\n\n## Use\n\n```\nfrom gpxrun import GpxRun\ng = GpxRun('myfile.gpx.gz')\n#summary frame of 1 row\ng.summary_data\n\n#gpxcsv data frame augmented with computed rows\ng.gpx_data\n```\n\nExample image of an apparently painfully slow run:\n\n\u003cimg width=\"1109\" alt=\"Screen Shot 2021-07-31 at 6 07 44 PM\" src=\"https://user-images.githubusercontent.com/13702392/127753435-a4d9196f-3361-48f3-8925-337328798fa2.png\"\u003e\n\nAlso includes a helper function `gpx_multi` which can process a glob of files and return a concattenated dataframe summary.\n\n```python\ndf = gpx_multi('*.gpx')\n```\n\n## Wait, why do I look so much slower with this?\n\nAt least when it comes to the Apple Watch, pace/distance information shown in the Fitness app or during a workout is based on the __pedometer__, not the GPS. In theory, [the Watch calibrates itself](https://support.apple.com/en-us/HT204516) using the GPS so the pedometer is accurate. I know that I had disabled location services for **Motion Calibration and Distance**, and that when I finaly turned this on, suddenly the Watch started calibrating and within a run or two, it was telling me I was slower than I had been.\n\nIn practice with `gpxrun`, an uncalibrated Watch will have the largest discrepencies with the GPS-based pace/speed/distance, but this gap will close if/as it is calibrated. So far, in about a week of calibration, the self-reported distances from the Watch pedometer are about 2%-3% larger than what I find in the GPS data in the GPX exported files (using [HealthFit](https://apps.apple.com/us/app/healthfit/id1202650514)).\n\nHow accurate is the pedometer can be when fully calibrated, I do not know yet. I will eventually update this readme comparing pace/distance data from `gpxrun` with what the pedometer-based distance iOS reports.\n\nAnother question, how accurate is GPS based pace/distance? The Watch reports GPS accuracy and it's +/- a meter or two. Presumably over a long run, the total integrated distance is fairly accurate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrowonk%2Fgpxrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrowonk%2Fgpxrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrowonk%2Fgpxrun/lists"}