People do not program in terms of SQS, tables, and bytes. People program in concepts.
Abstract acknowledgement queue concept, implemented over multiple backends.
pip install platonic-queue
Showcase how your project can be used:
from platonic_queue.sqs import SQSBaseQueue
class NumbersQueue(SQSBaseQueue[int]):
"""Sending numbers."""
url = '...' # SQS queue URL
serialize = str # type: ignore
deserialize = int # type: ignore
queue = NumbersQueue()
queue.put(5)
queue.get()
# 5
This project was generated with wemake-python-package
. Current template version is: 5dc9d4e0e082ab012a399856368212745f40ed4f. See what is updated since then.