Skip to content

cfarsbot/py-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Py-Generator

Usage

This is a little script that can generate attendance certificates.

The script scans trough the *.docx file for the "participant" keyword. This Keyword will be replaced by ne name of the participant given in the UI, Every participant gets his own file as docx.

Screenshot

  1. Select your Template
  2. Enter the names, separate them with an ","
  3. Hit "Start"

The output will be saved in the current directory of the Script files

How it works

Every *.docx file is basically an zip file that contains xml files, these hold the actual data. So we unpack an cache it.

Now the Script iterates trough the names. For every name a new zip will be generated, this will be renamed to *.docx and...voilà we are done.

Combability

The Script is written in Python3 and Uses PyQt5, it should run on most modern PCs with Python installed. Tested on Windows 10 and Manjaro Linux.

Todo

  • Error handling
  • English UI
  • Export as PDF
  • Change output dir

About

Docx Certificate generator with PyQt Userinterface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages