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
- Host: GitHub
- URL: https://github.com/extrange/imh-es-roster
- Owner: extrange
- Created: 2022-01-04T15:20:24.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T17:52:49.000Z (over 1 year ago)
- Last Synced: 2025-01-19T20:01:47.398Z (about 1 year ago)
- Language: Python
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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...*

*...to this*

## 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/