Skip to main content

Python AWS SQS Consumer

PyPI Build passing PyPI - Downloads

Write Amazon Simple Queue Service (SQS) consumers in Python with simplified interface. Define your logic to process an SQS message. After you're done processing, messages are deleted from the queue.

Checkout the full documentation - https://aws-sqs-consumer-python.readthedocs.io/en/latest/

Installation

pip install aws-sqs-consumer

Simple Usage

from aws_sqs_consumer import Consumer, Message

class SimpleConsumer(Consumer):
    def handle_message(self, message: Message):
        # Write your logic to handle a single `message`.
        print("Received message: ", message.Body)

consumer = SimpleConsumer(
    queue_url="https://sqs.eu-west-1.amazonaws.com/12345678901/test_queue",
    polling_wait_time_ms=5
)
consumer.start()

Contributing

Checkout the Contribution guidelines - CONTRIBUTING.md

Metadata

Release files for aws-sqs-consumer 0.0.15

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

Source distribution (sdist)

Source distribution for aws-sqs-consumer 0.0.15
File Size Uploaded Provenance
aws_sqs_consumer-0.0.15.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-sqs-consumer 0.0.15
File Interpreter ABI Platform
aws_sqs_consumer-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / aws_sqs_consumer-0.0.15.tar.gz

Download URL aws_sqs_consumer-0.0.15.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ef6c29b3e53f3a9fc319f375c0e46226c9b1be9aa48feb9da0b7f3d9adaebe0e
BLAKE2b-256 checksum
How to use checksums
d5feed833e3ee84325c65a2df66c638ff9623d39c305ccc5754fc8b80d3a7d79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1041-azure

Release files / aws_sqs_consumer-0.0.15-py3-none-any.whl

Download URL aws_sqs_consumer-0.0.15-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
935c9ab3057f2d8965422f392e3b2e183a40485d983f2724adfd1fba8196e112
BLAKE2b-256 checksum
How to use checksums
459de578e33ff13dac87796df5a2aeec5555ba2a20995a84992c82f644f9c99e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1041-azure

Security for aws-sqs-consumer 0.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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