{"id":18774661,"url":"https://github.com/firefly-cpp/tcxread","last_synced_at":"2026-02-05T14:04:50.462Z","repository":{"id":248999457,"uuid":"830412388","full_name":"firefly-cpp/tcxread","owner":"firefly-cpp","description":"A parser for TCX files ","archived":false,"fork":false,"pushed_at":"2024-12-12T11:42:50.000Z","size":1049,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T23:35:11.659Z","etag":null,"topics":["data-mining","data-science","garmin-connect","tcx-files","tcx-parser"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/firefly-cpp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T08:17:48.000Z","updated_at":"2024-12-12T11:38:20.000Z","dependencies_parsed_at":"2024-11-07T19:51:31.238Z","dependency_job_id":null,"html_url":"https://github.com/firefly-cpp/tcxread","commit_stats":null,"previous_names":["firefly-cpp/tcxread"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firefly-cpp","download_url":"https://codeload.github.com/firefly-cpp/tcxread/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689376,"owners_count":21145923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["data-mining","data-science","garmin-connect","tcx-files","tcx-parser"],"created_at":"2024-11-07T19:38:54.935Z","updated_at":"2026-02-05T14:04:50.457Z","avatar_url":"https://github.com/firefly-cpp.png","language":"Ruby","funding_links":[],"categories":["Software 💻"],"sub_categories":["Wrestling 🤼‍♀️"],"readme":"\u003ch1 align=\"center\"\u003e\n     tcxread -- A parser for TCX files written in Ruby\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n     \u003ca href=\"https://badge.fury.io/rb/tcxread\"\u003e\n          \u003cimg alt=\"Gem Version\" src=\"https://badge.fury.io/rb/tcxread.svg\"\u003e\n     \u003c/a\u003e\n     \u003ca href=\"https://github.com/firefly-cpp/tcxread/blob/master/LICENSE\"\u003e\n          \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/firefly-cpp/tcxread.svg\"\u003e\n     \u003c/a\u003e\n     \u003ca href=https://repology.org/project/ruby:tcxread/versions\u003e\n          \u003cimg alt=\"Packaging status\" src=\"https://repology.org/badge/tiny-repos/ruby:tcxread.svg\"\u003e\n     \u003c/a\u003e\n     \u003cimg alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/w/firefly-cpp/tcxread.svg\"\u003e\n     \u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/firefly-cpp/tcxread\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n     \u003ca href=\"#-installation\"\u003e📦 Installation\u003c/a\u003e •\n     \u003ca href=\"#-basic-run-example\"\u003e🚀 Basic run example\u003c/a\u003e •\n     \u003ca href=\"#-datasets\"\u003e💾 Datasets\u003c/a\u003e •\n     \u003ca href=\"#-further-read\"\u003e📖 Further read\u003c/a\u003e •\n     \u003ca href=\"#-related-packagesframeworks\"\u003e🔗 Related packages/frameworks\u003c/a\u003e •\n     \u003ca href=\"#-license\"\u003e🔑 License\u003c/a\u003e\n\u003c/p\u003e\n\ntcxread is a Ruby package designed to simplify the process of reading and processing .tcx files, commonly used by Garmin devices and other GPS-enabled fitness devices to store workout data.\n\n## 📦 Installation\n\n```sh\n$ gem install tcxread\n```\n\n## 🚀 Basic run example\n\n```ruby\nrequire 'tcxread'\n\ndata = TCXRead.load_file('23.tcx')\n\nputs [\n  \"Distance meters: #{data.total_distance_meters}\",\n  \"Time seconds: #{data.total_time_seconds}\",\n  \"Calories: #{data.total_calories}\",\n  \"Total ascent: #{data.total_ascent}\",\n  \"Total descent: #{data.total_descent}\",\n  \"Max altitude: #{data.max_altitude}\",\n  \"Average heart rate: #{data.average_heart_rate}\",\n  \"Average watts: #{data.average_watts}\",\n  \"Max watts: #{data.max_watts}\",\n  \"Average speed: #{data.average_speed_all}\",\n  \"Average speed (moving): #{data.average_speed_moving}\",\n  \"Average cadence (moving): #{data.average_cadence_biking}\",\n  \"Average cadence: #{data.average_cadence_all}\"\n].join(\"\\n\")\n```\n\nUse `TCXRead.parse(data)` to parse raw TCX data.\n\n## 💾 Datasets\n\nDatasets available and used in the examples on the following links: [DATASET1](http://iztok-jr-fister.eu/static/publications/Sport5.zip), [DATASET2](http://iztok-jr-fister.eu/static/css/datasets/Sport.zip), [DATASET3](https://github.com/firefly-cpp/tcx-test-files).\n\n## 📖 Further read\n\n[1] [Awesome Computational Intelligence in Sports](https://github.com/firefly-cpp/awesome-computational-intelligence-in-sports)\n\n## 🔗 Related packages/frameworks\n\n[1] [tcxreader: Python reader/parser for Garmin's TCX file format.](https://github.com/alenrajsp/tcxreader)\n\n[2] [sport-activities-features: A minimalistic toolbox for extracting features from sports activity files written in Python](https://github.com/firefly-cpp/sport-activities-features)\n\n[3] [TCXReader.jl: Julia package designed for parsing TCX files](https://github.com/firefly-cpp/TCXReader.jl)\n\n[4] [TCXWriter: A Tiny Library for writing/creating TCX files on Arduino](https://github.com/firefly-cpp/tcxwriter)\n\n## 🔑 License\n\nThis package is distributed under the MIT License. This license can be found online at \u003chttp://www.opensource.org/licenses/MIT\u003e.\n\n## Disclaimer\n\nThis framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirefly-cpp%2Ftcxread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirefly-cpp%2Ftcxread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirefly-cpp%2Ftcxread/lists"}