Rapid7 InsightConnect email parser for email plugins
Project description
InsightConnect Integrations Email Parser
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
Fromsection 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_eml_parser-2.0.1-py3-none-any.whl.
File metadata
- Download URL: python_eml_parser-2.0.1-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb3ff91f69903ff1bd01014e6f3df09b98a3fec37c43c74de7eae194ffc7954
|
|
| MD5 |
35703ac1aaf31c6b33188dd4ee9fb1ba
|
|
| BLAKE2b-256 |
7335ddbad1285e34327a39d120f7945a99bf32a48d30ee1ff71732906711116d
|