Small script to convert Google Calendar .ics exports into a CSV, filtered to a selectable date range.
Google only lets you export the entire calendar, not a specific date range. This lets me pull out exactly the time slot I need and get the appointments as a CSV for further planning.
Built this for a private matter, but feel free to use it.
Drop your .ics files into exports/, then:
./isc2csv.py # Default: current month + next month
./isc2csv.py 2026-07-01 2026-08-06 # custom range (YYYY-MM-DD)Output lands as appointments.csv in the same folder.
python3 -m venv .venv
source .venv/bin/activate
pip install icalendar