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-6.0.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file olist_loafer-6.0.0.tar.gz.

File metadata

  • Download URL: olist_loafer-6.0.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for olist_loafer-6.0.0.tar.gz
Algorithm Hash digest
SHA256 17397a6ffa35ffae0267dad30fff2b80860176ace7e27847b26834b91b26ae00
MD5 989bc34c840ae1ba4bf6b6ca80b3249e
BLAKE2b-256 25df141b9afcaed191f3deb6225a636ef9f66aeba14b870f890753cdb495809a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: olist_loafer-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for olist_loafer-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e66c8d1f3e9a9cf7002edec918c218fbf3cfa9a3cc4920d8ca8045e3b6848f34
MD5 a5904cc82e7376b27558e7301189c262
BLAKE2b-256 512d2fa537852c150421eda29de126640b6725f843e3cd32b5c8930b96718d56

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