Giter Club home page Giter Club logo

mlsa-cert-gen's Introduction

MLSA Certificate Generator

A tool to generate & distribute event certificates for your attendees!

Installation

  1. Clone the repository
gh repo clone POWRFULCOW89/mlsa-cert-gen
  1. Create and activate a virtual environment
python -m venv env
  1. Install the dependencies
pip install requirements.txt

Setup & Usage

You can generate certificates for your attendees by running the script:

python app.py [--dry-run] [--from-txt]

By default, the tool will generate certificates for all the attendees in a file called attendees.csv (available from the Teams attendance report) with the following structure:

1. Summary
Meeting title	Title
Attended participants	10
Start time	21/10/22 12:00:00
End time	21/10/22 03:00:00
Meeting duration	3h 0m 0s
Average attendance time	3h 0m 0s

2. Participants
Name	First join	Last leave	In-meeting duration	Email	Participant ID (UPN)	Role
...

3. In-Meeting activities
Name	Join time	Leave time	Duration	Email	Role
...

or from an attendees.txt file, with a simpler format for in-person events:

Full Name 10001
...

where the number represents the student ID, used for later sending the certificates via email.

A number of configuration options are available in the config.py file, including some path variables and the email template.

After successfully retrieving a list of names and emails from any of the previous sources, the tool will generate a certificate for each attendee and save it in the certificates folder by default.

An SMTP server is then used to send the certificates to the attendees via email, with the credentials provided in the .env file.

Always verify the output before sending the emails to your attendees using the --dry-run flag to avoid spam.

Todo

  • Email verification
  • More ways to load attendee data
  • Tests (especially for mass email sending)

mlsa-cert-gen's People

Contributors

powrfulcow89 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.