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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file eml-to-html-0.0.2.tar.gz.

File metadata

  • Download URL: eml-to-html-0.0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for eml-to-html-0.0.2.tar.gz
Algorithm Hash digest
SHA256 01914fdc25f94ca2a411581e361395f275ac4e4b6afa60e6c1f5cce62e44c65a
MD5 860f1f192778bed54093bbd19ff44763
BLAKE2b-256 e5301858e171ec1ebd905e74394f3a8407c97236536b3369ae0f2299d8266f33

See more details on using hashes here.

File details

Details for the file eml_to_html-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: eml_to_html-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for eml_to_html-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc0bba03a75d9eb491b069b4f8c022e31ab3b534eb9f1af905bedd511c4ce3a
MD5 03358147398d547c0720b77754473d0f
BLAKE2b-256 11389c4680f3208dde56ff62a994505a528de9b66a29201bdabd6190922917ee

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