python-eml-parser


Namepython-eml-parser JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/rapid7/python-eml-parser
SummaryRapid7 InsightConnect email parser for email plugins
upload_time2023-11-27 10:40:54
maintainer
docs_urlNone
authorRapid7 Integrations Alliance
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# InsightConnect Integrations Email Parser

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
![Markdown Lint](https://github.com/rapid7/python-eml-parser/workflows/Markdown%20Lint/badge.svg)
![Unit testing](https://github.com/rapid7/python-eml-parser/workflows/Unit%20testing/badge.svg)

Tooling for parse emails in [Rapid7 InsightConnect](https://www.rapid7.com/products/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](https://github.com/psf/black)
and [pre-commit](https://pre-commit.com/) 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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rapid7/python-eml-parser",
    "name": "python-eml-parser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Rapid7 Integrations Alliance",
    "author_email": "integrationalliance@rapid7.com",
    "download_url": "",
    "platform": null,
    "description": "\n# InsightConnect Integrations Email Parser\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n![Markdown Lint](https://github.com/rapid7/python-eml-parser/workflows/Markdown%20Lint/badge.svg)\n![Unit testing](https://github.com/rapid7/python-eml-parser/workflows/Unit%20testing/badge.svg)\n\nTooling for parse emails in [Rapid7 InsightConnect](https://www.rapid7.com/products/insightconnect/) plugins.\n\n## Installation\n\n```\npip install python-eml-parser\n```\n\n## Use\n\nSimple!\n\n### Python\n\n```\nfrom python-eml-parser.email_parser import EmailParser\nfrom email import message_from_string\n\n\nemail_parser = EmailParser()\nemail = email_parser.make_email_from_raw(\n    self.log, message_from_string(raw_email), mailbox_id\n)\n```\n\n## Contributions\n\nContributions are welcome! This project utilizes [black](https://github.com/psf/black)\nand [pre-commit](https://pre-commit.com/) for handling code\nstyle. Simply follow the instructions for installing pre-commit and \nrun `pre-commit install` in the repository after cloning and you will\nbe on your way to contributing!\n\n## Changelog\n\n* 2.0.1 - Adding in a default of empty string if there is no `From` section in an email\n* 2.0.0 - MD5, SHA1, and SHA256 Indicators for Base64 Content are now hashes of the decoded Base64 Content\n* 1.0.0 - Initial release\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Rapid7 InsightConnect email parser for email plugins",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://github.com/rapid7/python-eml-parser"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7335ddbad1285e34327a39d120f7945a99bf32a48d30ee1ff71732906711116d",
                "md5": "35703ac1aaf31c6b33188dd4ee9fb1ba",
                "sha256": "2fb3ff91f69903ff1bd01014e6f3df09b98a3fec37c43c74de7eae194ffc7954"
            },
            "downloads": -1,
            "filename": "python_eml_parser-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35703ac1aaf31c6b33188dd4ee9fb1ba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 20076,
            "upload_time": "2023-11-27T10:40:54",
            "upload_time_iso_8601": "2023-11-27T10:40:54.767515Z",
            "url": "https://files.pythonhosted.org/packages/73/35/ddbad1285e34327a39d120f7945a99bf32a48d30ee1ff71732906711116d/python_eml_parser-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-27 10:40:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rapid7",
    "github_project": "python-eml-parser",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "python-eml-parser"
}
        
Elapsed time: 0.15756s