widgets¶
Get the current Python events from an ics file and format them into a markdown string.
- exception src.widgets.events.FetchFailedError[source]¶
Bases:
Exception
Raised when the fetch fails for any reason.
- async src.widgets.events.fetch_ics(url: str) Any [source]¶
Fetches the ics file from the given url and returns the text content.
- src.widgets.events.format_event(event_time_start: Arrow, event_time_end: Arrow | None, summary: str, link: str) str [source]¶
Formats the event into a markdown string.