Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Any format to pdf converter and Attach PDF in email

Project 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.


pip install PdfandEmail


from PdfandEmail import convertToPdf, email

To convert any file (word document, image and .md):


To attach the pdf in email

email(username, password, senderAddress, receiverAddress, subject, body, inputFile)

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
PdfandEmail-0.0.1-py3-none-any.whl (2.6 kB) Copy SHA256 hash SHA256 Wheel py3
PdfandEmail-0.0.1.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page