Skip to content

Upload a word template and adds data to it from a csv file ,based on game,name,etc.

Notifications You must be signed in to change notification settings

xreedev/Automated-Certificate-Generator

Repository files navigation

Automated Certificate Generator

This Program was built in order to automate the sports day certificate generation process for my college. If you plan to use it, go through the README file and modify the code.

Features

  • Generates certificates automatically from a template.
  • Substitutes values for Name, Class, Semester, and Event from a CSV file.
  • Converts the generated Word documents to PDF format.

Requirements

  • Python 3. x
  • Required Python libraries: os, CSV, docx, docx2pdf

Usage

  1. Clone the repository:
gh repo clone xreedev/Automated-Certificate-Generator
  1. Place your certificate template as template.docx in the project directory with NAME, CLASS, and EVENT to be substituted.

  2. Place your CSV file with the data (containing columns Name, Class, Semester, Event) in the directory student_data.

  3. Install requirements.txt and run the program:

pip install -r requirements.txt
  1. Find your generated certificates in the Final_Certificates directory.

Modification

If you want to modify the certificate template, leave the placeholders NAME, CLASS, SEM, and EVENT where the values are to be substituted. With minimal experience, you can modify the code to suit your use case.
This is the template.

template
This is the final result.

Certificate

Note

This program was created to automate the certificate designing process for my college. No coding experience is needed to use this program, just basic understanding. I just built to automate design which was supposed to be done by me manually. Any contributions are welcome.

Support

For any issues or queries, feel free to contact Sreedev TS at xreedev@gmail.com.

Enjoy automating your certificate generation process!