Skip to main content

tcx2ics

Convert a .tcx activity file (from Garmin, Strava, etC.) into a single .ics calendar event with basic workout Statistics.

The calendar event contains:

  • start and end time of the activity
  • sport type
  • total duration
  • total distance

📦 Installation

pip

Install tcx2ics with pip:

pip install tcx2ics

🚀 Examples

Basic example

from tcx2ics import Tcx2Ics
Tcx2Ics().convert("15.tcx", "workout.ics")

🔑 License

This package is distributed under the MIT License. This license can be found online at http://www.opensource.org/licenses/MIT.

Disclaimer

This 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!

🔗 Related frameworks

[1] AST-Monitor: A wearable Raspberry Pi computer for cyclists

[2] TCXReader.jl: Julia package designed for parsing TCX files

[3] TCXWriter: A Tiny Library for writing/creating TCX files on Arduino

Metadata

Release files for tcx2ics 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcx2ics 0.2.0
File Size Uploaded
tcx2ics-0.2.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tcx2ics 0.2.0
File Interpreter ABI Platform
tcx2ics-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / tcx2ics-0.2.0.tar.gz

Download URL tcx2ics-0.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
919ae0a386f16fa0eab2777d236a2e5375eedd2905b0bd3cf0477b739131c020
BLAKE2b-256 checksum
How to use checksums
e00748ae99997cb02ecf3f20846c2e0b6e91c65d36448a1fd0067ef02c006442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.14.5 Linux/7.0.12-201.fc44.x86_64

Release files / tcx2ics-0.2.0-py3-none-any.whl

Download URL tcx2ics-0.2.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5043dafef27e6d74b6169c63c826efaf3ea27564e0451df93e38fb9f5406ea59
BLAKE2b-256 checksum
How to use checksums
9aaccd03e3ff9ff68580f19823a13c9455f0822b9476597f9bdf72cde48d07e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.14.5 Linux/7.0.12-201.fc44.x86_64

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page