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
ℹ️ 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
Metadata
Release files for loafer-ng 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| loafer_ng-3.0.0.tar.gz | 93.8 kB | Without provenance | Details for loafer_ng-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loafer_ng-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for loafer_ng-3.0.0-py3-none-any.whl |
Total release size: 106.9 kB
Release files / loafer_ng-3.0.0.tar.gz
| Download URL | loafer_ng-3.0.0.tar.gz |
|---|---|
| Size | 93.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39d0f723733a7eaa906f425088f760b26b7245ec9934b6588ebc7acc757de42c
|
|
BLAKE2b-256 checksum How to use checksums |
7d3b0845e4948a38feaffe97e5adf7f6cf0c4f0995e8f68dc992754a72483019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/23.0.0
|
Release files / loafer_ng-3.0.0-py3-none-any.whl
| Download URL | loafer_ng-3.0.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
997450364ed8e670cc4d43f63a95721f1948c0910032f64575eba6d84b3c39bc
|
|
BLAKE2b-256 checksum How to use checksums |
5208839c82d54c5ec9eabc32e9e7362ab24bc7e58a89f9832cc127dfac522d16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/23.0.0
|
Security for loafer-ng 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.