Skip to main content

An opinionated library for pub/sub over SQS and SNS

Project description


An opinionated library for pub/sub over SQS and SNS


To publish on a topic:

topic = Topic('widgets--created')
topic.publish({'id': '123456'})

Topic Queue Poller

To read from the topic:

poller = TopicQueuePoller('my_poller')

def process_created_widget(item):
    widget_id = item['id']
    print(f'Widget {widget_id} was created')


A Flask binding is also provided:

poller = FlaskTopicQueuePoller('my_poller', app=flask_app)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tqp, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size tqp-0.4.2-py3-none-any.whl (7.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tqp-0.4.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page