Skip to main content

Actions Status Python 3.7 PyPI version License: MIT Total alerts Language grade: Python Twitter Follow

Lambda Parse SQS Messages

When creating a Lambda subscription to consume SQS events, it's possible to receive multiple messages at once function invocation. So, its necessary to parse message body and iterate over multiple events.

pip install lambda-parse-sqs
from lambda_parse_sqs import parse_messages

def lambda_handler(event, context):

    messages = parse_messages(event)
    for message in messages:
        # Do wethever you want

Metadata

Release files for lambda-parse-sqs 0.2.2

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

Source distribution (sdist)

Source distribution for lambda-parse-sqs 0.2.2
File Size Uploaded
lambda_parse_sqs-0.2.2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lambda-parse-sqs 0.2.2
File Interpreter ABI Platform
lambda_parse_sqs-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / lambda_parse_sqs-0.2.2.tar.gz

Download URL lambda_parse_sqs-0.2.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f7a6f92bcd708377980eb070a49d86bcf91fae1002bc8b2d675a9b029149276c
BLAKE2b-256 checksum
How to use checksums
b29631356ee5c7d87bcae4ae6c5c20053fc2d30688a2c729928533a6822033a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release files / lambda_parse_sqs-0.2.2-py3-none-any.whl

Download URL lambda_parse_sqs-0.2.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04ab67278a41a5478f378f9b86dfc2b6517c42695ef62f11213a1b9587259731
BLAKE2b-256 checksum
How to use checksums
6807d3514e7bd9f1df3041f47f2c2ac0698c207efa1872633a21d97bf1ef2fa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.16

2 release files

0.1.15

2 release files

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