Any format to pdf converter and Attach PDF in email
Project description
Description
This is a module that serves two purposes:
- This library serves two main purposes: Detect the inputFile that you send as argument. If it is a document format, a md format, or an image the library will convert the input file to a pdf
- The library also facilitates email.If the user provides username, password, senders and receivers address and a pdf file as input arguments, the pdf file is attached and is sent to the receiver's address.
Installation
pip install PdfandEmail
Usage
from PdfandEmail import convertToPdf, email
To convert any file (word document, image and .md):
convertToPdf(inputFile)
To attach the pdf in email
email(username, password, senderAddress, receiverAddress, subject, body, inputFile)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PdfandEmail-0.0.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for PdfandEmail-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba0937f379f17c0654d6a8f353bdef2b26c9ed58ac581873c7072586ea077182 |
|
MD5 | a387d9200b9a538ecc6c0cbd8f055cb8 |
|
BLAKE2b-256 | b78c3dd34b65a9f3b41ca99730f88d62e67dce10cf5be2769fa9213758cff02e |