Skip to content

A hobby project in Python which notifies you when you can pick up you exam from service center at Halmstad University.

Notifications You must be signed in to change notification settings

AndreasH96/ExamNotifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExamNotifier

A hobby project in Python using Beautiful Soup 4 and Pandas which notifies you when you can pick up you exam from service center at Halmstad University.

Features

Signing Up

A student should be able to sign up by sending an email to [email protected], formatted with one course-courseCode per line. Like this:

MA8080
FÖ1002

The Gmail-API makes a POST to a web service, which stores the info for later. We allow only signing up from a student email.

Upon registering, we send back a disclaimer-email that says that there are no guarantees for this program.

The Signing-Up-program should always be running and listening on a port for a POST-request.

Collect exam

This program should be runned periodically, ideally once a day. It checks for when the exams are ready for collection, and mails everyone in the state.csv accordingly. Should not be too hard to implement.

Registration-Notification

When an exam is ready for registration in Ladok, you should receive an email about that. This requires the merging of two datasets:

  1. Which week that the exams are running
  2. Which courses that are ran on each particular week

Should hopefully not be too hard to implement. After all, we don't want the KJ-tragedy to happen again.

The Registration-Notification program should also be ran periodically, ideally once a day.

Technical details

State

The "State" is a file state.csv that holds some state for emails. We don't want to send duplicate emails, and as such we keep track of who we have sent mail to, and about what.

The structure should be a little bit like this.

name email courseCode firstRegistrationMail lastRegistrationMail collectMail
Jakob Lindskog [email protected] MA2020 False False False
Jakob Lindskog [email protected] FÖ1002 True False False
Andreas Häggström [email protected] MA2020 False False False

which allows easier translation to pandas dataframes than a hierarchical JSON.

About

A hobby project in Python which notifies you when you can pick up you exam from service center at Halmstad University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published