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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

olist_loafer-7.0.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: olist_loafer-7.0.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for olist_loafer-7.0.0.tar.gz
Algorithm Hash digest
SHA256 a3f558f6ed9532ec0207b9e0e69a533434cf270137f93743927344b174878cc3
MD5 ab78ab7de14d501bd6cf8aca6457ba01
BLAKE2b-256 4d8e2b4fd5b43cb778b48389d890a69905d9c29eb4e957bfcb403f0d4fc18206

See more details on using hashes here.

Provenance

The following attestation bundles were made for olist_loafer-7.0.0.tar.gz:

Publisher: release.yml on olist/olist-loafer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: olist_loafer-7.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for olist_loafer-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fe607bc99200664e1fd004f3be112e871c17c3b3a6d33a8d9ceadbedcc8fd17
MD5 e4a59218131eb3e8a83bfbb761f74567
BLAKE2b-256 670aed670b34166c51f8c534d14c5c7e463eb4e92e6d50eed0e1dc07d8cb77df

See more details on using hashes here.

Provenance

The following attestation bundles were made for olist_loafer-7.0.0-py3-none-any.whl:

Publisher: release.yml on olist/olist-loafer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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