def receiver(queue_name=None, **kwargs):
    def _decorator(fn):
        qn = queue_name or '%s__%s' % (
            fn.__module__.replace('.','__'), fn.__name__ )
        return register(qn, fn, **kwargs).get_receiver_proxy()
    return _decorator
Registers decorated function as SQS message receiver.
dataset/ETHPy150Open mpasternacki/django-sqs/django_sqs/__init__.py/receiver