Communication & Formats ยท zero-dependency ยท MIT

larzical

iCalendar (RFC 5545) build and parse.

Generate .ics calendars that Google, Apple and Outlook accept, and parse the ones they send. Gets the low-level rules right - RFC 5545 TEXT escaping, 75-octet multibyte-safe line folding, UTC date-times - and round-trips.

larzscript pkg install ical
View on GitHub →Learn the stack

What you get

Try it

import "ical" as ical
let cal = ical.calendar([
  ical.event("Standup", "20260801T090000Z", "20260801T093000Z", {
    "description": "Daily sync", "location": "Room 4",
    "alarm": ical.alarm(-900)
  }),
  ical.event("Launch Day", "20260901", nil, {"all_day": true})
])
print(ical.parse(cal)[0]["summary"])
print(ical.parse(cal)[1]["all_day"])
Output
Standup
true

Why it's in the Larz Stack

larzical is a real Larzscript package (larzscript pkg install ical) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.