Name | olist-loafer JSON |
Version |
5.0.0
JSON |
| download |
home_page | None |
Summary | Asynchronous message dispatcher for concurrent tasks processing |
upload_time | 2023-12-12 18:00:05 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | The MIT License (MIT)
Copyright (c) 2016 George Kussumoto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
asyncio
dispatcher
message
microservices
tasks
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![PyPI latest](https://img.shields.io/pypi/v/olist-loafer.svg?maxAge=2592000)](https://pypi.python.org/pypi/loafer)
[![Python versions](https://img.shields.io/pypi/pyversions/olist-loafer.svg?maxAge=2592000)](https://pypi.python.org/pypi/loafer)
[![License](https://img.shields.io/pypi/l/loafer.svg?maxAge=2592000)](https://pypi.python.org/pypi/olist-loafer)
[![CircleCI](https://circleci.com/gh/olist/olist-loafer/tree/main.svg?style=svg)](https://circleci.com/gh/olist/olist-loafer/tree/main)
[![Olist Sponsor](https://img.shields.io/badge/sponsor-olist-53b5f6.svg?style=flat-square)](http://opensource.olist.com/)
**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``:
```python
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:
```bash
make test
```
Raw data
{
"_id": null,
"home_page": null,
"name": "olist-loafer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "asyncio,dispatcher,message,microservices,tasks",
"author": null,
"author_email": "Olist <developers@olist.com>",
"download_url": "https://files.pythonhosted.org/packages/13/4f/14bc2b1d6767183ff0857021f71278fd96a408af00235bdc07b41bbc594b/olist_loafer-5.0.0.tar.gz",
"platform": null,
"description": "[![PyPI latest](https://img.shields.io/pypi/v/olist-loafer.svg?maxAge=2592000)](https://pypi.python.org/pypi/loafer)\n[![Python versions](https://img.shields.io/pypi/pyversions/olist-loafer.svg?maxAge=2592000)](https://pypi.python.org/pypi/loafer)\n[![License](https://img.shields.io/pypi/l/loafer.svg?maxAge=2592000)](https://pypi.python.org/pypi/olist-loafer)\n[![CircleCI](https://circleci.com/gh/olist/olist-loafer/tree/main.svg?style=svg)](https://circleci.com/gh/olist/olist-loafer/tree/main)\n[![Olist Sponsor](https://img.shields.io/badge/sponsor-olist-53b5f6.svg?style=flat-square)](http://opensource.olist.com/)\n\n\n**olist-loafer** is an asynchronous message dispatcher for concurrent tasks processing, with the following features:\n\n* Encourages decoupling from message providers and consumers\n* Easy to extend and customize\n* Easy error handling, including integration with sentry\n* Easy to create one or multiple services\n* Generic Handlers\n* Amazon SQS integration\n\n---\n:information_source: Currently, only AWS SQS is supported\n\n---\n\n## How to use\n\nA simple message forwader, from ``source-queue`` to ``destination-queue``:\n\n```python\nfrom loafer.ext.aws.handlers import SQSHandler\nfrom loafer.ext.aws.routes import SQSRoute\nfrom loafer.managers import LoaferManager\n\nroutes = [\n SQSRoute('source-queue', handler=SQSHandler('destination-queue')),\n]\n\nif __name__ == '__main__':\n manager = LoaferManager(routes)\n manager.run()\n```\n\n## How to contribute\n\nFork 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:\n\n```bash\nmake test\n```\n",
"bugtrack_url": null,
"license": "The MIT License (MIT)\n \n Copyright (c) 2016 George Kussumoto\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.",
"summary": "Asynchronous message dispatcher for concurrent tasks processing",
"version": "5.0.0",
"project_urls": {
"Download": "https://github.com/olist/olist-loafer/releases",
"Repository": "https://github.com/olist/olist-loafer/"
},
"split_keywords": [
"asyncio",
"dispatcher",
"message",
"microservices",
"tasks"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "6f2605bd51f18910c6778f190f7ed2e42a18543810beb681ecd65d5a34c7812c",
"md5": "196d1e62eaac1ab26ef8ec0a903d8163",
"sha256": "e6c306ac8d662bdf6c20820256c542a7afadc30b8be9adbe1b09faba8f836bc6"
},
"downloads": -1,
"filename": "olist_loafer-5.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "196d1e62eaac1ab26ef8ec0a903d8163",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 13400,
"upload_time": "2023-12-12T18:00:08",
"upload_time_iso_8601": "2023-12-12T18:00:08.695463Z",
"url": "https://files.pythonhosted.org/packages/6f/26/05bd51f18910c6778f190f7ed2e42a18543810beb681ecd65d5a34c7812c/olist_loafer-5.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "134f14bc2b1d6767183ff0857021f71278fd96a408af00235bdc07b41bbc594b",
"md5": "69986d56426201fd919dc996374ef136",
"sha256": "6756b97b46a8d79964304e006e6450dcb61e5c6717a604d516cd57ff81ecb946"
},
"downloads": -1,
"filename": "olist_loafer-5.0.0.tar.gz",
"has_sig": false,
"md5_digest": "69986d56426201fd919dc996374ef136",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 49157,
"upload_time": "2023-12-12T18:00:05",
"upload_time_iso_8601": "2023-12-12T18:00:05.168766Z",
"url": "https://files.pythonhosted.org/packages/13/4f/14bc2b1d6767183ff0857021f71278fd96a408af00235bdc07b41bbc594b/olist_loafer-5.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-12 18:00:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "olist",
"github_project": "olist-loafer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "olist-loafer"
}