Convert an Algonquin College timetable stored as .rtf to an iCalendar .ics file.
Warning
This program ignores holidays and breaks. Class events must manually be removed for those days.
A python3 environment is required to run this script
- Install Python version >= 3.0 from https://www.python.org
- Install required modules
pip install -r /path/to/requirements.txt
- Login to ACSIS.
- Go to View TimeTable under Courses.
- Click the Export to RTF button.
The python script main.py
should be ran from the command line like so
python /path/to/main.py [-h] [-V] [-v] [-d] input.rtf output.ics
There are a few arguments available
positional arguments:
input Path to .rtf file
output Path to save .ics file
options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
-v, --verbose Set logging level to INFO
-d, --debug Set logging level to DEBUG
The ICS format is a universal calendar file format that all popular calendar applications support.
Examples include but are not limited to:
- Microsoft Outlook
- Google Calendar
- Apple Calendar