A minimal, sanitized template for a Python app that syncs a weekly JSON schedule to Google Calendar and sends invites/reminders.
What this template contains
calendar_sync.py— sanitized script (no credentials or emails).credentials.example.json— example OAuth client file (placeholders only).schedule.example.json— example schedule structure..gitignore— ignores local secrets and tokens.
Quick start
- Copy
credentials.example.jsontocredentials.jsonand fill in your OAuth client values (use a Desktop OAuth client or add test users). - Copy
schedule.example.jsontoschedule.jsonand fill in your timezone, calendar_name, and week entries. - Install dependencies:
pip install -r requirements.txt(or at leastgoogle-auth-oauthlib google-api-python-client tzdata). - Run:
python calendar_sync.py
Notes
- This repository is a template: do NOT commit
credentials.jsonor any real emails here. - Use the private repository to store your full project with
credentials.jsonand any private data.
Suggested GitHub repo description (short): "Sync weekly schedules to Google Calendar with invites & reminders (template)."
Suggested long description for the GitHub repo page:
"A lightweight Python utility that reads a JSON schedule and creates recurring weekly events in Google Calendar, sending invites and reminders to attendees. This repository is a sanitized template — replace credentials.example.json and schedule.example.json with your own credentials.json and schedule.json before running."
Suggested topics/tags: google-calendar, oauth, python, schedule, template