A desktop application built with PyQt6 that parses university timetables (Excel files) and syncs them with a Google Calendar.
To allow the app to interact with your Google Calendar, you need to create OAuth 2.0 credentials:
- Create Project: Go to the Google Cloud Console and create a new project.
- Enable API: In the project, navigate to APIs & Services > Library, search for "Google Calendar API", and click Enable.
- Configure OAuth Consent Screen:
- Navigate to APIs & Services > OAuth consent screen.
- Select External for User Type.
- Fill in the required App Information.
- Under Test users, add your own Google email address (this is crucial for testing).
- Create Credentials:
- Navigate to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- Select Desktop app as the application type.
- Once created, download the JSON file using the download icon.
- Save Credentials:
- Create a folder named
credsin the root of the project (Scheduler/creds/). - Rename the downloaded JSON file to
credentials.jsonand save it asScheduler/creds/credentials.json.
- Create a folder named
- Virtual Environment: It is highly recommended to use a virtual environment:
python -m venv venv # Linux/macOS: source venv/bin/activate # Windows: venv\Scripts\activate
- Install Dependencies:
pip install -r requirements.txt
- Launch:
python main.py
On the first run, the application will open a browser window asking you to authorize the app to access your Google Calendar.