Metadata-Version: 2.1
Name: lambda-parse-sqs
Version: 0.2.1
Summary: Parse SQS messages from lambda triggered SQS subscription
Home-page: https://github.com/msantino/lambda-parse-sqs
Author: Marcelo Santino
Author-email: eu@marcelosantino.com.br
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# 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. 

```bash
pip install lambda-parse-sqs
```

```python
from lambda_parse_sqs import parse_messages

def lambda_handler(event, context):

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

