Recursively traverses component and subcomponents. Sorted – Whether parameters and properties should be set_inline ( name, values, encode=1 ) ¶Ĭonverts a list of values into comma seperated string and sets value Returns properties in this component and subcomponents as: property_items ( recursive=True, sorted=True ) ¶
Returns True if Component has no items or subcomponents, else False. Returns a list of values (split on comma). Populates the component recursively from a string. classmethod from_ical ( st, multiple=False ) ¶ content_lines ( sorted=True ) ¶Ĭonverts the Component and subcomponents into content lines. content_line ( name, value, sorted=True ) ¶ Icalendar’s own property types (Fallback is “vText”)Īdd a subcomponent to this component. encode ( Boolean) – True, if the value should be encoded to one of.parameters ( Dictionary) – Property parameter dictionary for the value.Either of a basic Python type ofĪny of the icalendar’s own property types. value ( Python native type or icalendar property type.) – Value of the property.add ( name, value, parameters=None, encode=1 ) ¶ normally you will not use this classĭirecty, but rather one of the subclasses. Component ( *args, **kwargs ) ¶Ĭomponent is the base object for calendar, Event and the otherĬomponents defined in RFC 2445. This is the base object for an iCalendar file. Alarm ( *args, **kwargs ) ¶ class icalendar.cal. Calendar is a dictionary like Python object that can render itself as VCAL