Skip to main content

Abstract acknowledgement queue concept, implemented over multiple backends.

Project description

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 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

MIT

Credits

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

Project details


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)

Uploaded Source

Built Distribution

platonic_queue-0.1.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page