Skip to main content

Any format to pdf converter and Attach PDF in email

Project description

Description

This is a module that serves two purposes:

  1. 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
  2. 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PdfandEmail-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

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

Hashes for PdfandEmail-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7d2afc9351e04b0a155f41fb697ec06e35649bbef78c026466f4e0a772c89206
MD5 e69c26c8b7046b68a61e339df75b5890
BLAKE2b-256 55c8bf1da80fe37d7106809083c2f646a8d0aa0dbebb27cda96c97de5464a114

See more details on using hashes here.

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

Hashes for PdfandEmail-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba0937f379f17c0654d6a8f353bdef2b26c9ed58ac581873c7072586ea077182
MD5 a387d9200b9a538ecc6c0cbd8f055cb8
BLAKE2b-256 b78c3dd34b65a9f3b41ca99730f88d62e67dce10cf5be2769fa9213758cff02e

See more details on using hashes here.

Supported by

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