Skip to content

Simple diploma creator for the fictional School of Wizardry called Hogwarts

Notifications You must be signed in to change notification settings

Trigenaris/Hogwarts-Diploma-Creator

Repository files navigation

Hogwarts Diploma Creator - PyQt5 GUI ⚡🪄

This simple app creates a Hogwarts Academy Diploma for the user. The diploma has the attributes of the user's preferences such as; student name, house name etc.

It creates the file from a word document template and also converts into a pdf file.

The requirements for this app to work are:

  • PyQt5
  • pandas
  • docxtpl
  • docx2pdf
  • docx
  • Harryp font (to use harryp font in the files but it is contained in the assets folder)

The external sources for the projects can be reached by these urls:

How Does It Work?

Firstly, it is expected for the user to login to continue the process.
There are three pre-defined credentials for the headmaster title:

  • Albus Dumbledore - Password: AlomoharaThis!
  • Minerva Mcgonagall - Password: Felis_Animagus
  • Severus Snape - Password: Lilly_Evans

Login Window

hogwarts_login_age

The user chooses a headmaster between the pre-defined headmasters

hogwarts_login_page_get

Enters the password and clicks on the login button

hogwarts_login_page_get1


Main Window

The user chooses between two radio buttons - Single Diploma or Multi Diploma -

hogwarts_main_page

For a single diploma, the process is shown in the next image:

hogwarts_main_page_get

For the multiple diplomas, the process is shown in the next image:

hogwarts_main_page_get1

The user is redirected to a file dialog to choose a csv file

hogwarts_filedialog_get

The csv file is expected as it is shown below

hogwarts_csv


The Template Document and Some Finished Examples

Template

hogwarts_template

Harry Potter

harry_potter

Luna Lovegood

luna_lovegood

Draco Malfoy

hogwarts_draco_malfoy

Cedric Diggory

hogwarts_cedric_diggory

Releases

No releases published

Packages

No packages published

Languages