Abstract acknowledgement queue concept, implemented over multiple backends.
Project description
platonic-queue
People do not program in terms of SQS, tables, and bytes. People program in concepts.
Abstract acknowledgement queue concept, implemented over multiple backends.
Installation
pip install platonic-queue
Example
Showcase how your project can be used:
from platonic_queue.sqs import SQSQueue
class NumbersQueue(SQSQueue[int]):
"""Sending numbers."""
url = '...' # SQS queue URL
serialize = str # type: ignore
deserialize = int # type: ignore
queue = NumbersQueue()
queue.put(5)
queue.get()
# 5
License
Credits
This project was generated with wemake-python-package
. Current template version is: 5dc9d4e0e082ab012a399856368212745f40ed4f. See what is updated since then.
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 Distribution
platonic-queue-0.1.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for platonic_queue-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 453e5498e65ad32ff97cf010a4bb1b4c1aa5d3c4828d2f1127260d09720a2de4 |
|
MD5 | fb6c74c43820d9771af982ba6db33d41 |
|
BLAKE2b-256 | 0d04ebb00c914388589420807ffd204cebd94e085eb752364633d44fc64ce550 |