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

Acknowledgement queue class, implemented over a number of backends

License

Notifications You must be signed in to change notification settings

python-platonic/platonic-queue

Repository files navigation

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.

About

Acknowledgement queue class, implemented over a number of backends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published