Skip to main content

InsightConnect Integrations Email Parser

pre-commit Code style: black Markdown Lint Unit testing

Tooling for parse emails in Rapid7 InsightConnect plugins.

Installation

pip install python-eml-parser

Use

Simple!

Python

from python-eml-parser.email_parser import EmailParser
from email import message_from_string


email_parser = EmailParser()
email = email_parser.make_email_from_raw(
    self.log, message_from_string(raw_email), mailbox_id
)

Contributions

Contributions are welcome! This project utilizes black and pre-commit for handling code style. Simply follow the instructions for installing pre-commit and run pre-commit install in the repository after cloning and you will be on your way to contributing!

Changelog

  • 2.0.1 - Adding in a default of empty string if there is no From section in an email
  • 2.0.0 - MD5, SHA1, and SHA256 Indicators for Base64 Content are now hashes of the decoded Base64 Content
  • 1.0.0 - Initial release

Metadata

Release files for python-eml-parser 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for python-eml-parser 2.0.1
File Interpreter ABI Platform Actions
python_eml_parser-2.0.1-py3-none-any.whl Python 3 none any Details for python_eml_parser-2.0.1-py3-none-any.whl

Release files / python_eml_parser-2.0.1-py3-none-any.whl

Download URL python_eml_parser-2.0.1-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fb3ff91f69903ff1bd01014e6f3df09b98a3fec37c43c74de7eae194ffc7954
BLAKE2b-256 checksum
How to use checksums
7335ddbad1285e34327a39d120f7945a99bf32a48d30ee1ff71732906711116d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for python-eml-parser 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page