This is a Flask-based web application that simplifies the process of creating and managing time tables. The application allows users to upload their time table files in various formats (CSV, XLSX, XLS, PDF) and generates a simplified schedule (you can download it too). Additionally, it provides an option to select electives and integrates with Google Calendar to add events.
- Upload time table files in CSV, XLSX, XLS, or PDF formats.
- Automatically parse and convert the uploaded files to a simplified schedule.
- Select electives and generate a personalized time table.
- Integrate with Google Calendar to add events.
-
Clone the repository:
git clone https://github.com/tashifkhan/JIIT-time-table-parser cd JIIT-time-table-parser
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up Google Calendar API credentials:
- Follow the instructions here to create credentials and download the
credentials.json
file. - Place the
credentials.json
file in the root directory of the project.
- Follow the instructions here to create credentials and download the
-
Run the Flask application:
python server.py
-
Open your web browser and navigate to
http://127.0.0.1:5000/
. -
Upload your time table file and follow the instructions to generate your schedule.
-
Select your electives and submit to view your personalized time table.
-
Optionally, integrate with Google Calendar to add your schedule as events.
server.py
: Main Flask application file.templates/
: Contains HTML templates for the web pages.static/
: Contains static files like CSS and JavaScript.modules/
: Contains various modules for handling file conversions and processing.google_calender_integration.py
: Script for integrating with Google Calendar._creator.py
: Script for creating the time table from the parsed data.
- 4th year table not handelled yet (double entries beacuse of 2 slots availble)
- google calender integration in works