Giter Club home page Giter Club logo

certificate_generator's Introduction

证书生成器

Certificate Generator

描述

Description

这是一个可以自动生成许多许多证书文件,然后把他们分别发送给正确的人的程序~ This is a program which can automatically generate many certificate files (based on "template.docx") in doc and pdf, then send them all to the corresponding persons due to the configurations given in "receivers.xlsx" by email (mail configuration given in "mail_info.json")

要求

Prerequisities

  • Python3
  • Carefulness

使用方法

Usage

将配置文件修改好后,直接双击"clickme.bat"就好了 (Linux用户请双击"clickme.sh"哦) After the configurations are set, double click "clickme.bat" (for Windows users) or "clickme.sh" (for Linux users). Yes, just simple like this!

配置

Configuration

  • "template.docx": 保证字体不是临时修改的,要直接修改字体样式!
  • "template.docx": make sure the fonts in your template are not temporary, which means you should always set the fonts themselves rather than selecting the words and modify them temporarily.
  • "receivers.xlsx": 前三列必须是 编号、姓名、邮箱地址!
  • "receivers.xlsx": make sure the first three columns in your receivers table are respectively ID, NAME, and EMAIL ADDRESS. ID and NAME will be put on the generated certificate and the EMAIL ADDRESS will receive the corresponding certificate.
  • "mail_info.json": 可能不明白的应该只有hosts了吧,如果不明白,请查看如何查看各种邮箱的服务SMTP/POP3地址及端口号
  • "mail_info.json": if you do not know what "host" mean, please check 如何查看各种邮箱的服务SMTP/POP3地址及端口号
  • 最后一步!!! 告诉程序应该在第几行修改编号和姓名,直接修改clickme文件即可
  • The last step!!! tell the program where to modify the ID and the NAME: which row are they in? Modify this on "clickme.bat/sh", the default value for ID and NAME are respectively 12 and 1 (well, since we always put certificate id on the top).

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.