SQuidS Documentation#

A Python library that makes it simple to produce and consume tasks using AWS SQS.

https://user-images.githubusercontent.com/8187804/166835620-151c9c59-25b5-45af-949a-e8123a3578dd.png

Icon made by Freepik from www.flaticon.com

import squids

app = squids.App("my-first-squids-app")

@app.task(queue="squids-example")
def greet(name):
    print(f"Hello {name}!")

greet.send("World")
consumer = app.create_consumer("squids-example")
consumer.consume()
# >> Hello World!