Skip to main content

The leightweight parser for emlx files.

Project description

Emlx

Emlx is the lightweight parser for .emlx files as used by Mail.app.

Install

Install and update using pip:

pip install emlx

Example

>>> import emlx
>>> message = emlx.read("12345.emlx")
>>> message.bytecount
1781
>>> message.data.keys()
['Message-Id', 'From', 'Mime-Version', 'Content-Type', 'Subject', 'Date', ...]
>>> message.data["Message-Id"]
'<07F45222-4A09-11EA-BBA5-5CF9389AFA5E@example.com>'
>>> message.plist
{'date-received': 1581123200, 'flags': {'read': True, ...}, ...}

History

The emlx file format was introduced by Apple in 2005. It is similar to eml-files with an added bytecount (start) and plist (end). For more, see https://en.wikipedia.org/wiki/Email#Filename_extensions

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

emlx-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

emlx-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file emlx-0.1.0.tar.gz.

File metadata

  • Download URL: emlx-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.6

File hashes

Hashes for emlx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 54ddeb3519ff61442bd3fc3be3b5dd8a0925c7051b8cd9369571ac69511d1fe9
MD5 2c2af699471177f6255ba8f6e842e777
BLAKE2b-256 4a97b7ec48e135ecf50f7a28df16148e8a19e1c5e7424fa2fe44a2cf2aad655c

See more details on using hashes here.

File details

Details for the file emlx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: emlx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.6

File hashes

Hashes for emlx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe42d8dcdb7c0b91e9e7cd518fce04826bf999e824ae984caf2e8a9a7ba0b189
MD5 9ca4bbeb6dd297c8cd312eee1e8bf8a9
BLAKE2b-256 90d84d5d63fc166a745428fb4e2ac9fb650eae9a21b57115495e16ec46230bb2

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