To help with planning schedule / meetups during OpenSauce 2024 I wanted to get all the event details into google calendar. While I am super grateful that the conference publishes a calendar... they don't publish the details in a standard format :(.
Here are three scripts to get the open sauce schedule data into a standard format.
extract.py
which fetches and then extracts the data that hydrates this page: https://opensauce.com/agenda/. It basically is a super crude string -> json tool.gen_icals.py
consumes theschedule.json
from extract and generates ical filesmerge_ical.py
which takes a directry full of ical files and renders them into a single file. Use this for bulk upload to google calendar.
Since they're small files and not likely to change much between now / then, I added the "artifact" files as well:
schedule.json
to save you the effort of having to runextract.py
.{satur,sun}day.ical
: all the saturday/sunday events in one file for easy upload to google calendar.
The only non std-lib dependency is icalendar
.
Hacked together quickly with chatGPT. I had to do some cleanup and tweaking.
Built on a nix box with python 3.12.3.
License is "no license for non-commerical use. If you're using this code for commercial use... don't."
saturday.ical
is broken for me (it only imported one event)
looks like it's because it has multiple
VCALENDAR
sections in it, possibly from an earlier script rev? a quickg/^END:VCALENDAR/.,+1d
fixed it for me