Name | olist-loafer JSON |
Version |
6.0.0
JSON |
| download |
home_page | None |
Summary | Asynchronous message dispatcher for concurrent tasks processing |
upload_time | 2024-07-04 19:13:09 |
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/25/df/141b9afcaed191f3deb6225a636ef9f66aeba14b870f890753cdb495809a/olist_loafer-6.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) 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.",
"summary": "Asynchronous message dispatcher for concurrent tasks processing",
"version": "6.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": "",
"digests": {
"blake2b_256": "512d2fa537852c150421eda29de126640b6725f843e3cd32b5c8930b96718d56",
"md5": "a5904cc82e7376b27558e7301189c262",
"sha256": "e66c8d1f3e9a9cf7002edec918c218fbf3cfa9a3cc4920d8ca8045e3b6848f34"
},
"downloads": -1,
"filename": "olist_loafer-6.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5904cc82e7376b27558e7301189c262",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 14187,
"upload_time": "2024-07-04T19:13:07",
"upload_time_iso_8601": "2024-07-04T19:13:07.460576Z",
"url": "https://files.pythonhosted.org/packages/51/2d/2fa537852c150421eda29de126640b6725f843e3cd32b5c8930b96718d56/olist_loafer-6.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "25df141b9afcaed191f3deb6225a636ef9f66aeba14b870f890753cdb495809a",
"md5": "989bc34c840ae1ba4bf6b6ca80b3249e",
"sha256": "17397a6ffa35ffae0267dad30fff2b80860176ace7e27847b26834b91b26ae00"
},
"downloads": -1,
"filename": "olist_loafer-6.0.0.tar.gz",
"has_sig": false,
"md5_digest": "989bc34c840ae1ba4bf6b6ca80b3249e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 20405,
"upload_time": "2024-07-04T19:13:09",
"upload_time_iso_8601": "2024-07-04T19:13:09.129208Z",
"url": "https://files.pythonhosted.org/packages/25/df/141b9afcaed191f3deb6225a636ef9f66aeba14b870f890753cdb495809a/olist_loafer-6.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-04 19:13:09",
"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"
}