A simple Python SQS listener
Project description
This package takes care of the boilerplate involved in creating an SQS listening agent.
Installation
pip install
Usage
Here is a basic code sample:
Notes
The environment variable AWS_ACCOUNT_ID must be set, in addition to the environment having valid AWS credentials (via environment variables or a credentials file)
For both the main queue and the error queue, if the queue doesn’t exist (in the specified region), it will be created at runtime.
The error queue receives only two values in the message body: exception_type and error_message. Both are of type str
Upcoming Features
Create an issue with a suggestion for a feature, and I’ll see what I can do!
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
Hashes for pySqsListener-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ea2325b98f65cff7e6dab1f1846cab3b62f0262f29162d5c8c2147aa9c418e |
|
MD5 | c330b942bb8da1651d6acd4056564c73 |
|
BLAKE2b-256 | d35aa417bff0cf5aa064f98ac0256dc196387e46c5c1f874cc3b9fe597da7639 |