Skip to content

HugMoraes/CertificateSender

Repository files navigation

ValidadorLiga

This projects allow to create certificates and send by email. It is designed to be expandable and personalizable.

IMPORTANT: This project is not complete and on pause.

Description

The main use for it is to get a .csv or .xlsx file from the user with information about people (Ex.: name and email) from some form event and use a certificate model in .pdf format and write people information on top of it using a pdf editor. And after the certificates get generated, the program can send for each person an email with a template message with their name on it and the certificate attached. The program generate a report with, program errors, certificate errors, email erros and invalid informations from email, CPF (A number associated with each person in Brazil) or other informations.

Getting Started

Dependencies

  • chardet: 5.2.0
  • numpy: 2.2.0
  • pandas: 2.2.3
  • pillow: 11.0.0
  • PyPDF2: 3.0.1
  • python-dateutil: 2.9.0.post0
  • pytz: 2024.2
  • reportlab: 4.2.5
  • six: 1.17.0
  • tzdata: 2024.2

Installing

  • Clone the repository

  • install dependencies

    pip install -r requirements.txt
    
  • Make a config.ini file with the following infomation

[login]

email =

password =

[paths]

inscriptiondir = inscription

certificatesdir = generatedCertificates

certificatemodeldir = certificateModel

reportdir = report

inscriptionfile =

fontfile =

certificatemodelfile =

[certificateConfig]

fontsize =

yaxisadjustment =

[emailContent]

emailsubject =

emailtext =

Executing program

  • Change the main.py for your need
  • Run the code
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages