sesparser


Namesesparser JSON
Version 1.9.4.5 PyPI version JSON
download
home_page
SummaryAWS SES Email Parser
upload_time2023-12-21 20:53:34
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords aws ses attachments aws ses body dynamodb email email body email parser inline inline attachments lambda lambda layer layer parser ses parser
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sesparser

**sesparser** is a simple, yet elegant, Email parsing library received through AWS SES.

```python
>>> import sesparser
>>> s = sesparser.online('s3_ses_event')
>>> s.recipient
someone@example.com
>>> s = sesparser.online('s3_ses_event',dynamodb=True,table_name="core-mail-data-1")
{'UnprocessedItems': {}, 'ConsumedCapacity': [{'TableName': 'core-mail-data-1', 'CapacityUnits': 20.0}], 'ResponseMetadata': {'RequestId': 'H7210I9JBDH33CKJH1JO16QSEFVV4KQNSO5AEMVJF66Q9ASUAAJG', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Server', 'date': 'Thu, 09 Nov 2023 03:20:55 GMT', 'content-type': 'application/x-amz-json-1.0', 'content-length': '98', 'connection': 'keep-alive', 'x-amzn-requestid': 'H7210I9JBDH33CKJH1JO16QSEFVV4KQNSO5AEMVJF66Q9ASUAAJG', 'x-amz-crc32': '2598397897'}, 'RetryAttempts': 0}}
>>> s.archive.s3.key
'<DS0PR02MB924561B21196B9EE08B3B93BC2AFA@DS0PR02MB9245.namprd02.prod.outlook.com>'
>>> s.timestamp
20231109233614
>>> print(s)
{"all_email_keys":"all_email_key_values"}
```

sesparser allows you to work on lambda extremely easily. There’s no need to manually add query strings to your function, or to decode your `eml` data — but nowadays, just use the `SNS-Event` method!

sesparser is one of the most downloaded Python packages today, pulling in around `30 downloads / week`— according to GitHub

[![Downloads](https://img.shields.io/badge/Downloads-200-blue.svg)](https://pepy.tech/project/sesparser)
[![Supported Versions](https://img.shields.io/badge/suported%20versions-Python%203.5%20above-blue.svg)](https://pypi.org/project/sesparser)
[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/suryavaddiraju/sesparser/graphs/contributors)

## Installing sesparser and Supported Versions

sesparser is available on PyPI:

```console
$ python -m pip install sesparser
```

sesparser officially supports Python 3.7+.

## Supported Features & Best–Practices

sesparser is ready for the demands of building robust and reliable email parsing applications, for the needs of today.

- Handling inline attachments
- File placeholders
- cloud saving
- Data decoding
- Advanced multipart handler
- Different domains handler
- Handle offline too
- Extra layer detection of filenames
- Added support for AWS Lambda Layer
- Advanced Security Details
- Spam recognition
- DKIM,DMARC,SPF and other standard compliance
- Segregating on user recipient mail id
- Bulk processing

## API Reference and User Guide available on [Read the Docs](https://sesparser.readthedocs.io)

[![Read the Docs](https://raw.githubusercontent.com/suryavaddiraju/sesparser/main/ext/ss.png)](https://sesparser.readthedocs.io)

## Cloning the repository

```shell
git clone -c fetch.fsck.badTimezone=ignore https://github.com/suryavaddiraju/sesparser.git
```

---

[![SURYA VADDIRAJU](https://raw.githubusercontent.com/suryavaddiraju/sesparser/main/ext/kr.png)](https://surya.vaddiraju.in) [![Python Software Foundation](https://raw.githubusercontent.com/suryavaddiraju/sesparser/main/ext/psf.png)](https://www.python.org/psf)
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "sesparser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "AWS,SES,attachments,aws ses,body,dynamodb,email,email body,email parser,inline,inline attachments,lambda,lambda layer,layer,parser,ses parser",
    "author": "",
    "author_email": "Vaddiraju Surya Teja <suryavaddiraju@proton.me>",
    "download_url": "https://files.pythonhosted.org/packages/54/41/6abd32c979a8fd372a1f35968d0d47815cdb9e51d212ef7363537a28b025/sesparser-1.9.4.5.tar.gz",
    "platform": null,
    "description": "# sesparser\n\n**sesparser** is a simple, yet elegant, Email parsing library received through AWS SES.\n\n```python\n>>> import sesparser\n>>> s = sesparser.online('s3_ses_event')\n>>> s.recipient\nsomeone@example.com\n>>> s = sesparser.online('s3_ses_event',dynamodb=True,table_name=\"core-mail-data-1\")\n{'UnprocessedItems': {}, 'ConsumedCapacity': [{'TableName': 'core-mail-data-1', 'CapacityUnits': 20.0}], 'ResponseMetadata': {'RequestId': 'H7210I9JBDH33CKJH1JO16QSEFVV4KQNSO5AEMVJF66Q9ASUAAJG', 'HTTPStatusCode': 200, 'HTTPHeaders': {'server': 'Server', 'date': 'Thu, 09 Nov 2023 03:20:55 GMT', 'content-type': 'application/x-amz-json-1.0', 'content-length': '98', 'connection': 'keep-alive', 'x-amzn-requestid': 'H7210I9JBDH33CKJH1JO16QSEFVV4KQNSO5AEMVJF66Q9ASUAAJG', 'x-amz-crc32': '2598397897'}, 'RetryAttempts': 0}}\n>>> s.archive.s3.key\n'<DS0PR02MB924561B21196B9EE08B3B93BC2AFA@DS0PR02MB9245.namprd02.prod.outlook.com>'\n>>> s.timestamp\n20231109233614\n>>> print(s)\n{\"all_email_keys\":\"all_email_key_values\"}\n```\n\nsesparser allows you to work on lambda extremely easily. There\u2019s no need to manually add query strings to your function, or to decode your `eml` data \u2014 but nowadays, just use the `SNS-Event` method!\n\nsesparser is one of the most downloaded Python packages today, pulling in around `30 downloads / week`\u2014 according to GitHub\n\n[![Downloads](https://img.shields.io/badge/Downloads-200-blue.svg)](https://pepy.tech/project/sesparser)\n[![Supported Versions](https://img.shields.io/badge/suported%20versions-Python%203.5%20above-blue.svg)](https://pypi.org/project/sesparser)\n[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/suryavaddiraju/sesparser/graphs/contributors)\n\n## Installing sesparser and Supported Versions\n\nsesparser is available on PyPI:\n\n```console\n$ python -m pip install sesparser\n```\n\nsesparser officially supports Python 3.7+.\n\n## Supported Features & Best\u2013Practices\n\nsesparser is ready for the demands of building robust and reliable email parsing applications, for the needs of today.\n\n- Handling inline attachments\n- File placeholders\n- cloud saving\n- Data decoding\n- Advanced multipart handler\n- Different domains handler\n- Handle offline too\n- Extra layer detection of filenames\n- Added support for AWS Lambda Layer\n- Advanced Security Details\n- Spam recognition\n- DKIM,DMARC,SPF and other standard compliance\n- Segregating on user recipient mail id\n- Bulk processing\n\n## API Reference and User Guide available on [Read the Docs](https://sesparser.readthedocs.io)\n\n[![Read the Docs](https://raw.githubusercontent.com/suryavaddiraju/sesparser/main/ext/ss.png)](https://sesparser.readthedocs.io)\n\n## Cloning the repository\n\n```shell\ngit clone -c fetch.fsck.badTimezone=ignore https://github.com/suryavaddiraju/sesparser.git\n```\n\n---\n\n[![SURYA VADDIRAJU](https://raw.githubusercontent.com/suryavaddiraju/sesparser/main/ext/kr.png)](https://surya.vaddiraju.in) [![Python Software Foundation](https://raw.githubusercontent.com/suryavaddiraju/sesparser/main/ext/psf.png)](https://www.python.org/psf)",
    "bugtrack_url": null,
    "license": "",
    "summary": "AWS SES Email Parser",
    "version": "1.9.4.5",
    "project_urls": {
        "Bug Tracker": "https://github.com/suryavaddiraju/sesparser/issues",
        "Documentation": "https://sesparser.readthedocs.io",
        "Homepage": "https://github.com/suryavaddiraju/sesparser"
    },
    "split_keywords": [
        "aws",
        "ses",
        "attachments",
        "aws ses",
        "body",
        "dynamodb",
        "email",
        "email body",
        "email parser",
        "inline",
        "inline attachments",
        "lambda",
        "lambda layer",
        "layer",
        "parser",
        "ses parser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00416c70b1864a6305eb5f8f58e796f0f87f329dd1182484f28375fc81ca14b9",
                "md5": "65810921dcbeafb251b95d4a97cc79dc",
                "sha256": "e0c1d92b0e458b671eb92c5bfdeea03a08bbbee067863bb1fc563351550ffd01"
            },
            "downloads": -1,
            "filename": "sesparser-1.9.4.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "65810921dcbeafb251b95d4a97cc79dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 15939,
            "upload_time": "2023-12-21T20:53:32",
            "upload_time_iso_8601": "2023-12-21T20:53:32.605215Z",
            "url": "https://files.pythonhosted.org/packages/00/41/6c70b1864a6305eb5f8f58e796f0f87f329dd1182484f28375fc81ca14b9/sesparser-1.9.4.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54416abd32c979a8fd372a1f35968d0d47815cdb9e51d212ef7363537a28b025",
                "md5": "3059e383bdc09d34a6e7773145145125",
                "sha256": "0efc917db1a961b07907e9a605532170a7d4605c549f00058e27ad364a23da5d"
            },
            "downloads": -1,
            "filename": "sesparser-1.9.4.5.tar.gz",
            "has_sig": false,
            "md5_digest": "3059e383bdc09d34a6e7773145145125",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 994454,
            "upload_time": "2023-12-21T20:53:34",
            "upload_time_iso_8601": "2023-12-21T20:53:34.046221Z",
            "url": "https://files.pythonhosted.org/packages/54/41/6abd32c979a8fd372a1f35968d0d47815cdb9e51d212ef7363537a28b025/sesparser-1.9.4.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-21 20:53:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "suryavaddiraju",
    "github_project": "sesparser",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sesparser"
}
        
Elapsed time: 0.16071s