Skip to content

rsiemens/squids

Repository files navigation

SQuidS

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

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!

Installation

python -m pip install SQuidS

Documentation

https://squids.readthedocs.io