Skip to main content

Asynchronous message dispatcher for concurrent tasks processing

Project description

PyPI latest Python versions License CircleCI Olist Sponsor

olist-loafer is an asynchronous message dispatcher for concurrent tasks processing, with the following features:

  • 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

:information_source: Currently, only AWS SQS is supported


How to use

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

from loafer.ext.aws.handlers import SQSHandler
from loafer.ext.aws.routes import SQSRoute
from loafer.managers import LoaferManager

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

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

How to contribute

Fork this repository, make changes and send us a pull request. We will review your changes and apply them. Before sending us your pull request please check if you wrote and ran tests:

make test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

olist-loafer-3.0.6.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

olist_loafer-3.0.6-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file olist-loafer-3.0.6.tar.gz.

File metadata

  • Download URL: olist-loafer-3.0.6.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.11 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for olist-loafer-3.0.6.tar.gz
Algorithm Hash digest
SHA256 9a7daa2baeb342ba1fde449701b5c96b6f2057f381848e552500b0c86b0c2c48
MD5 80b08abadf3dd89e41715ae63ddfba19
BLAKE2b-256 86898d93edac686481634fe9815951c2c95a05c5005ed81421b779137c2ab5f4

See more details on using hashes here.

File details

Details for the file olist_loafer-3.0.6-py3-none-any.whl.

File metadata

  • Download URL: olist_loafer-3.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.11 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for olist_loafer-3.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e1db696da51badeb91ed0757ecc52277b7c740797a699b965eb76ee66c792918
MD5 d8a3937737a74de0cde5bcd7b1242785
BLAKE2b-256 1f774774375ea944e0c5c1e8142d6ce6fc7d410281cac51cf73cbf7fab06249f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page