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 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
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.2.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for platonic_queue-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f5eea21eaa357e3097234d2b0ce00d7bc8c9ef5aea9690bcb35e937bc4ec94 |
|
MD5 | 49228fe6560566a0b265441225ab81df |
|
BLAKE2b-256 | bc3b3fb0cc453af059319df579732cefbe8cfb3991fe0243b108650b27917bf2 |