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.pywhich 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.pyconsumes theschedule.jsonfrom extract and generates ical filesmerge_ical.pywhich 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.jsonto 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.icalis broken for me (it only imported one event)
looks like it's because it has multiple
VCALENDARsections in it, possibly from an earlier script rev? a quickg/^END:VCALENDAR/.,+1dfixed it for me