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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PdfandEmail-0.0.1.tar.gz.
File metadata
- Download URL: PdfandEmail-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d2afc9351e04b0a155f41fb697ec06e35649bbef78c026466f4e0a772c89206
|
|
| MD5 |
e69c26c8b7046b68a61e339df75b5890
|
|
| BLAKE2b-256 |
55c8bf1da80fe37d7106809083c2f646a8d0aa0dbebb27cda96c97de5464a114
|
File details
Details for the file PdfandEmail-0.0.1-py3-none-any.whl.
File metadata
- Download URL: PdfandEmail-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba0937f379f17c0654d6a8f353bdef2b26c9ed58ac581873c7072586ea077182
|
|
| MD5 |
a387d9200b9a538ecc6c0cbd8f055cb8
|
|
| BLAKE2b-256 |
b78c3dd34b65a9f3b41ca99730f88d62e67dce10cf5be2769fa9213758cff02e
|