icalendar.cli module#

Utility program that allows user to preview calendar's events

icalendar.cli.main()[source]#

Parse command-line arguments and print a summary of calendar events.

Reads one or more iCalendar files or stdin, and writes a human-readable summary of each event to the specified output file or stdout.

icalendar.cli.view(event)[source]#

Make a human readable summary of an iCalendar file.

Parameters:

event (Event) – An iCalendar event containing fields such as summary, organizer, attendees, location, and timing.

Return type:

str

Returns:

A human readable summary of the event.