Skip to main content

Paint the EML to a single PNG image.

Project description

eml2png

Build Status Coverage Status Documentation Status PyPI version Docker Cloud Build Status

Paint the EML to a single PNG image.

Installing

You'll need wkhtmltopdf before you start working with eml2png, so install them first:

  • Debian/Ubuntu:
sudo apt-get install wkhtmltopdf
  • MacOSX
brew install wkhtmltopdf

Install eml2png:

pip install eml2png

Usage

Simple example:

import eml2png

with open('message.png', 'wb') as f:
    f.write(eml2png.to_png('message.eml'))

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

eml2png-0.0.1.tar.gz (14.6 MB view hashes)

Uploaded Source

Built Distribution

eml2png-0.0.1-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 2 Python 3

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