A CLI tool to create event certicates automatically using PPTX templates and lists of participants CSV/XLSX file.
- Libre Office (for PDF generation)
$ pip install git+https://github.com/omixlab/certificake
$ certificake \
--template examples/template.pptx \
--data examples/data.csv \
--output "examples/{{ name }}" \
--pdf
-
PPTX template files (
--template) might be tested previously in Libre Office, as some elements might be rendered different on other programs (eg: Microsoft Powerpoint). -
Avoid using spaces, special symbols or fields starting with numbers on the CSV/XLSX file containg the data to be included on the certificates (
--data). In case of field with more than one word, use underscores (eg: "full_address" instead of "full address"). -
Jinja2 is used to perform the string interpolation. Therefore, follow the syntax "{{ field_name }}" whenever you have to replace the field with the respective value of interest.