Awesome Open Source
Awesome Open Source


PyPI latest PyPI Version PyPI License Docs

CI Build Status Coverage Status Requirements Status Scrutinizer Code Quality Code Climate

Loafer is an asynchronous message dispatcher for concurrent tasks processing.

Currently, only AWS SQS is supported


  • Encourages decoupling from message providers and consumers
  • Easy to extend and customize
  • Easy error handling, including integration with sentry
  • Easy to create one or multiple services
  • Generic Handlers
  • Amazon SQS integration

It requires Python 3.6+ and is very experimental at the moment, expect a lot of changes until the first major version.


A simple message forwader, from source-queue to destination-queue:

from import SQSHandler
from import SQSRoute
from loafer.managers import LoaferManager

routes = [
    SQSRoute('source-queue', handler=SQSHandler('destination-queue')),

if __name__ == '__main__':
    manager = LoaferManager(routes)


Check out the latest Loafer full documentation at Read the Docs website.

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (796,774
Python3 (796,764
Microservice (11,961
Amazon (11,150
Asyncio (2,517
Sns (1,857
Sqs (1,732
Message Broker (137