Skip to main content

Converts `.eml` files to HTML.

Project description

eml-to-html

build status pypi badge Black Downloads PyPI - Python Version Language grade: Python PyPI - License

Tiny CLI tool that converts .eml email files to .html files.

Installation

pip install eml-to-html

Usage

eml-to-html [EML FILE]...

Feel free to pass a glob. For example:

eml-to-html some_email_file_1.eml some_email_file_2.eml

and

eml-to-html *.eml

are both valid calls to the command. Cheers!

Example

Running eml-to-html on the test_emails folder:

$ eml-to-html test_emails/*.eml
🟢 Written `test_email_1.html`
🟢 Written `test_email_2.html`

File tree is now:

$ tree test_emails 
test_emails
├── test_email_1.eml
├── test_email_1.html
├── test_email_2.eml
└── test_email_2.html

0 directories, 4 files

About

This micro module was written by Jeroen Overschie in 2022.

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

eml-to-html-0.0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

eml_to_html-0.0.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded 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