icalendar.cal.component_factory module#

A factory to create components.

class icalendar.cal.component_factory.ComponentFactory(*args, **kwargs)[source]#

Bases: CaselessDict

All components defined in RFC 5545 are registered in this factory class. To get a component you can use it like this.