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.0.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.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tcx2ics-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 5ca3bd966a78f8e98dea742f462157aac839c41e20d1fcce2ce66c53fba6279e
MD5 8d6f9173db4ca52e3f85ccbfb05b445e
BLAKE2b-256 daa846a6993da423de6522186c66aafb1906860bce7c98d7957f567821472fcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tcx2ics-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f49898db212b732f1d646bed6b5aab1c719da4b8f5236c52d2b6dad7fd51c623
MD5 3091a2e4b24d3b8316c1c211f2ce44f6
BLAKE2b-256 bb1fc0e35b4ae0ef25583d94099b9c9c07cc4702aaeb9b077cc2f2c05136f357

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