An open API service indexing awesome lists of open source software.

https://github.com/extrange/imh-es-roster

IMH ES roster exporter to iCalendar format
https://github.com/extrange/imh-es-roster

Last synced: about 2 months ago
JSON representation

IMH ES roster exporter to iCalendar format

Awesome Lists containing this project

README

          

# IMH ES Roster to iCal Converter

This utility converts ES rosters in `.xlsx` to `.ical` files which can be imported into Google Calendar or any other client supporting the [iCalendar][icalendar] format.

*From this...*

![](raw.jpg)

*...to this*

![](output.jpg)

## Usage

You need to have [Python][python] 3.10 or later installed before proceeding.

- Install requirements: `pip install -r requirements.txt`
- First, extract the schedule from the `.xlsx` file to JSON:
- `python schedule_to_json.py --name ` where `` is your name exactly as it appears in the roster with quotes, for example `'John Doe'`
- Then, export to iCal:
- `python json_to_ical.py --month=`
- `` is the path to the `roster.json` file generated in teh previous step
- `` is the month as an integer, where `Jan=1`, `Feb=2` etc.

[icalendar]: https://icalendar.org/
[python]: https://www.python.org/downloads/