icalendar.parser.ical.calendar module#
Special parsing for calendar components.
- class icalendar.parser.ical.calendar.CalendarIcalParser(data, component_factory, types_factory)[source]#
Bases:
ComponentIcalParserA parser for calendar components.
Initialize the parser with the raw data.
- Parameters:
data (
bytes|str|list[Contentline]) – The raw iCalendar data to parse, either as bytes or a list of content lines.component_factory (
ComponentFactory) – The factory to use for creating components.types_factory (
TypesFactory) – The factory to use for creating property values.