Skip to main content

DLQ Handler Library

A library for handling DLQ (Dead Letter Queue) messages in AWS SQS. This library allows you to reprocess messages from a DLQ with specified parameters such as the queue URL, original queue URL, and maximum number of attempts.

Installation

To install the library, use pip:

pip install dlq_handler_lib

from dlq_handler_lib import DLQHandler

# Initialize the DLQHandler with the queue URL, original queue URL, and maximum attempts
handler = DLQHandler(
    queue_url='https://sqs.us-east-1.amazonaws.com/123456789012/my-dlq',
    original_queue_url='https://sqs.us-east-1.amazonaws.com/123456789012/my-queue',
    max_attempts=5
)

# Process the messages from the DLQ
handler.process_messages()

Release files for dlq-handler-lib 0.1.6

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

Source distribution (sdist)

Source distribution for dlq-handler-lib 0.1.6
File Size Uploaded
dlq_handler_lib-0.1.6.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dlq-handler-lib 0.1.6
File Interpreter ABI Platform
dlq_handler_lib-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 kB

Release files / dlq_handler_lib-0.1.6.tar.gz

Download URL dlq_handler_lib-0.1.6.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8f1902cdde5a669e49cfc8c71f596d020ef80c3b2f1ac829de6d409bbec1321a
BLAKE2b-256 checksum
How to use checksums
969f1e5890b7d063e70b8f7949587ed3886c792599b6d076162bbeae19d622f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / dlq_handler_lib-0.1.6-py3-none-any.whl

Download URL dlq_handler_lib-0.1.6-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38ad7189e49b74229f553cc26d7b80c5713ec21f1d85d9b84d2adcb6fd61486f
BLAKE2b-256 checksum
How to use checksums
9ed6f687637f470aa1573f5509c00958dc090a789d085ffcd18eb7d9f62f451b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

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