Metadata-Version: 2.4
Name: tcx2ics
Version: 0.3.0
Summary: Generate ICS calendar events from TCX workout files
License-File: LICENSE
Author: Iztok Fister Jr.
Author-email: iztok@iztok.dev
Requires-Python: <4.0,>=3.12
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: tcxreader (>=0.4.11,<0.5.0)
Description-Content-Type: text/markdown

<h1 align="center">
    tcx2ics
</h1>

<p align="center">
    <a href="#-installation">📦 Installation</a> •
    <a href="#-examples">🚀 Examples</a> •
    <a href="#-related-frameworks">🔗 Related frameworks</a> •
    <a href="#-license">🔑 License</a>
</p>

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:

```sh
pip install tcx2ics
```

## 🚀 Examples
### Basic example
```python
from tcx2ics import Tcx2Ics
Tcx2Ics().convert("15.tcx", "workout.ics")
```

## 🔗 Related frameworks
[1] [AST-Monitor: A wearable Raspberry Pi computer for cyclists](https://github.com/firefly-cpp/AST-Monitor)

[2] [TCXReader.jl: Julia package designed for parsing TCX files](https://github.com/firefly-cpp/TCXReader.jl)

[3] [TCXWriter: A Tiny Library for writing/creating TCX files on Arduino](https://github.com/firefly-cpp/tcxwriter)

## 🔑 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!

