Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 963 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 963 Bytes

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