Skip to main content

Generate ICS calendar events from TCX workout files

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcx2ics-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tcx2ics-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file tcx2ics-0.1.1.tar.gz.

File metadata

  • Download URL: tcx2ics-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.14.2 Linux/6.18.7-200.fc43.x86_64

File hashes

Hashes for tcx2ics-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5611cf3d93a5759f3ccc752001d917e5069a3b4d9801aa286348ecaa383e80cf
MD5 8b0d8f6efe62955f3954cf995953d4a2
BLAKE2b-256 00ca6a7f8aa5f3cfa8fc7e1fbbca842f2278ffffe6321108b78cf7505b2197b8

See more details on using hashes here.

File details

Details for the file tcx2ics-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tcx2ics-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.14.2 Linux/6.18.7-200.fc43.x86_64

File hashes

Hashes for tcx2ics-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f180ba9ff6f736d2451d87c449412ec7da64008fefa303ca88f70834e9a1fdd7
MD5 6965c28545856bbee8fbcf0479fdd8b5
BLAKE2b-256 d4e8d44cf5d007adac5cf35bf8fe937510839d3e214a8b87fc0daba206bfdac8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page