timetable.event

Functions for generating timetables from raw calendar components. See section Timetable data for an explanation of timetables.

timetable.event.generate_item_timetable(uid, group, timezones)[source]

Generates a timetable for a calendar item. The item is given by its uid and a list of calendar components in group. It is required to supply the timezones of the calendar.

timetable.event.uidgroups_by_type(calendar, itemtype)[source]

Selects all items of type itemtype in the calendar and groups them into a dictionary based on their UID.