Skip to main content

AWS SQS utility package for producing and consuming messages

Project description

sqspy

Forked from the sqspy package and removed sqs list_queues.

Install

pip install sqs_py

Usage

from sqs_py import Consumer


class MyWorker(Consumer):
    def handle_message(self, body, attributes, message_attributes):
        print(body)


listener = MyWorker('Q1', error_queue='EQ1')
listener.listen()

More documentation coming soon.

Why

  • SQS list_queues conflicts with the permission in my AWS environment.
  • Messages are deleted from SQS after processing.

Support python 3.6+

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

sqs_py-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

sqs_py-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sqs_py-1.0.0.tar.gz.

File metadata

  • Download URL: sqs_py-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for sqs_py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3e613b862a621d70acf3539249ee1ab3fa12c9915c2c1fb24a25986116a259a8
MD5 dca031dabde1ce191ca66135bb0c3c9c
BLAKE2b-256 f36f03df80583ed8f02b9523ef76e4158f5e772f930fcab1a12a77ebe96ebc27

See more details on using hashes here.

File details

Details for the file sqs_py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sqs_py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for sqs_py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 332f49d43a24bea926f620b30e503021c572460fa462e3141570045e6c3d2976
MD5 83bb0dceb81254e8e193b2dd286634f8
BLAKE2b-256 23855cd5bc17773105c5fd96e141f4225193d331ab348b370004d60d365db9d8

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