Asynchronous message dispatcher for concurrent tasks processing
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3f558f6ed9532ec0207b9e0e69a533434cf270137f93743927344b174878cc3
|
|
| MD5 |
ab78ab7de14d501bd6cf8aca6457ba01
|
|
| BLAKE2b-256 |
4d8e2b4fd5b43cb778b48389d890a69905d9c29eb4e957bfcb403f0d4fc18206
|
Provenance
The following attestation bundles were made for olist_loafer-7.0.0.tar.gz:
Publisher:
release.yml on olist/olist-loafer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
olist_loafer-7.0.0.tar.gz -
Subject digest:
a3f558f6ed9532ec0207b9e0e69a533434cf270137f93743927344b174878cc3 - Sigstore transparency entry: 191599870
- Sigstore integration time:
-
Permalink:
olist/olist-loafer@fe2755a4c4594145d6694fbcae279ce6b476de15 -
Branch / Tag:
refs/tags/7.0.0 - Owner: https://github.com/olist
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fe2755a4c4594145d6694fbcae279ce6b476de15 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fe607bc99200664e1fd004f3be112e871c17c3b3a6d33a8d9ceadbedcc8fd17
|
|
| MD5 |
e4a59218131eb3e8a83bfbb761f74567
|
|
| BLAKE2b-256 |
670aed670b34166c51f8c534d14c5c7e463eb4e92e6d50eed0e1dc07d8cb77df
|
Provenance
The following attestation bundles were made for olist_loafer-7.0.0-py3-none-any.whl:
Publisher:
release.yml on olist/olist-loafer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
olist_loafer-7.0.0-py3-none-any.whl -
Subject digest:
1fe607bc99200664e1fd004f3be112e871c17c3b3a6d33a8d9ceadbedcc8fd17 - Sigstore transparency entry: 191599873
- Sigstore integration time:
-
Permalink:
olist/olist-loafer@fe2755a4c4594145d6694fbcae279ce6b476de15 -
Branch / Tag:
refs/tags/7.0.0 - Owner: https://github.com/olist
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fe2755a4c4594145d6694fbcae279ce6b476de15 -
Trigger Event:
release
-
Statement type: