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

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.2.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

platonic_queue-0.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file platonic-queue-0.2.0.tar.gz.

File metadata

  • Download URL: platonic-queue-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.8.1 Linux/5.4.0-39-generic

File hashes

Hashes for platonic-queue-0.2.0.tar.gz
Algorithm Hash digest
SHA256 05d52fb58aece7eebcd2177a3d4408c72c0015d80bac4377a0e4d1f43cd4f171
MD5 dd7cdf05f569d5b245a56fd9611c7d6c
BLAKE2b-256 2637ef2022b4dc299f7d627a090705538037e378fad76c047b4dc39b7d317937

See more details on using hashes here.

File details

Details for the file platonic_queue-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: platonic_queue-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.8.1 Linux/5.4.0-39-generic

File hashes

Hashes for platonic_queue-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03f5eea21eaa357e3097234d2b0ce00d7bc8c9ef5aea9690bcb35e937bc4ec94
MD5 49228fe6560566a0b265441225ab81df
BLAKE2b-256 bc3b3fb0cc453af059319df579732cefbe8cfb3991fe0243b108650b27917bf2

See more details on using hashes here.

Supported by

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