Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Latest commit

 

History

History
47 lines (29 loc) · 1.65 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.65 KB

platonic-queue

Build Status Coverage Python Version wemake-python-styleguide

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

MIT

Credits

This project was generated with wemake-python-package. Current template version is: 5dc9d4e0e082ab012a399856368212745f40ed4f. See what is updated since then.