π― GPA Calculator
- 4 minsMotivation
=> ubc do not calculate gpa for studentsssss
To be completely honest, this is probably the most useful personal project Iβve ever done. Useful in the sense that I will actually use it in my life. Most personal projects are for extracurricular learning (?), or even just for resume .
Anyways, this project allows UBC students to get their GPA in less than 30 seconds! If you are a first year user that just got into UBC with less than 50 credits in your transcript, it might be convenient to calculate it manually on a GPA calculator website. However, if you are a fourth year old head with like 120 credits and some 1 credit lab courses, it might not be so easy anymore.
Language and Tools
- Python
- Selenium
- BeautifulSoup
Implementation
This project uses selenium
webdriver package to click/navigate through webpages and BeautifulSoup
to parse webpage HTML tags.
Login
The program will ask for your username and password, and use send_keys()
function to fill it out in each text input area.
Grabbing the Grades
Basically, the grades are all stored in a table on the UBC SSC page and the program finds the grades and their corresponding credit number using the following code.
Then, itβs just a for
loop to accumulate all the grades and account for some edge cases! Quick and simple program that makes our lives easier .
Demo
Here is a quick demo.