Skip to main content

This is a bulk certificate generator / Mailer package

Project description

This is a Python package that supports only on windows, We are working hard to make them available in Mac and Linux, too,

The Main aim of this package is to help users create bulk "E-CERTIFICATES" and distribute them through mails, We have had this module under testing for 3000+ mails and we have had it stable,

People using this must be aware of using a G-Suite account as they have (gmail limits set to maximum amounts,)

!!! Please donot use this module for spamming, they are purely meant to distribute E-Certificates or Create them, !!! Make sure you only provide CSV files !!!

Installation : pip install cgm

Usage : for (only generating bulk certificates)

from cgm import Certificates

certificate = Certificates()
if certificate.read_csv('Your csv filename if present in project root directory || full path to your csv file'):
    a.renderCertificate('Your csv filename if present in project root directory || full path to your csv file')

this will promt you a small command line interface to move your text to the top / bottom / left / right
and also choose your text size, (to continue with defaults press enter!!)

and if you are satisfied with your cetificates then you can press 1 when prompted, then all your certificates will be ready in a folder 
name Certificates and then if you wish to proceed, you can pass in the send_mail method of the Mailer() class

sending Mails: on sending Mails: you will be prompted to attach images / certificates, Please press (1) if you want to..

    and make sure you fill out all the fields of the Mailer object

    example:

        from cgm import Mailer

        mail = Mailer()
        mail.username = '' #your username
        mail.password = '' #your password

        ((( This process might seem of a security issue but , it isn't, the program hosts a local server in your machine and then distributes the mails and quits out from it automatically, so you don't need to worry about the security)))

        And make sure you don't add them to your github pages with the username and password

Changing Font Styles : 
    we use the default font as Arial Black,
    if you wish to change the font format, please specify the font-path in the object of the Mailer / Certificate 's objects

    example:
        obj.font_path = '' # the complete path to the font


Errors:
    one main Error would be the encoding formats,
        we use default encoding format as 'utf-8' in case of promted to use another encoder, please pass them as an argument to the Mailer / Certificate 's read_csv() method

        obj.read_csv('filename', encoding_f = 'thedesired format')
            for defaults:
                obj.read_csv('filename') will do.

    We have made our best to handle errors, and working on them to make them more user friendly,

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certificate-gen-0.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

certificate_gen-0.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file certificate-gen-0.0.1.tar.gz.

File metadata

  • Download URL: certificate-gen-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1

File hashes

Hashes for certificate-gen-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fbcc334e01e728045a7c87e9e9d050bb34f0cbe937a9f56555ee1e85f2f37ca2
MD5 2b1cdb696c747098e15242bfb101cb72
BLAKE2b-256 c4ae149f5b2c6732d25f745eb2969c34ea7662cf8ffa3f4f739bf7007dd79f2e

See more details on using hashes here.

File details

Details for the file certificate_gen-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: certificate_gen-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1

File hashes

Hashes for certificate_gen-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c36c71a2a91afa30fbab8337232ea80a815babe34e4f050e0a1ebc94a19a9a
MD5 fc6aca5ff24f1fc6c55825f84084895a
BLAKE2b-256 b18af646560d1eaafb9f74013321643d3845c1bf73c51c936d361189538d51cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page