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:
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
The user chooses a headmaster between the pre-defined headmasters
Enters the password and clicks on the login button
The user chooses between two radio buttons - Single Diploma or Multi Diploma -
For a single diploma, the process is shown in the next image:
For the multiple diplomas, the process is shown in the next image:
The user is redirected to a file dialog to choose a csv file
The csv file is expected as it is shown below