{"id":22675036,"url":"https://github.com/orfium/taskiq-aws","last_synced_at":"2025-03-29T12:24:04.314Z","repository":{"id":254147199,"uuid":"838772882","full_name":"Orfium/taskiq-aws","owner":"Orfium","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T06:53:21.000Z","size":67,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-11T07:36:31.623Z","etag":null,"topics":["missing-codeowners"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Orfium.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-06T10:07:05.000Z","updated_at":"2025-03-11T06:50:40.000Z","dependencies_parsed_at":"2024-12-09T17:29:07.556Z","dependency_job_id":"8d99abfb-5753-45b8-8d41-78479ce68565","html_url":"https://github.com/Orfium/taskiq-aws","commit_stats":null,"previous_names":["orfium/taskiq-sqs","orfium/taskiq-aws"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orfium%2Ftaskiq-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orfium%2Ftaskiq-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orfium%2Ftaskiq-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orfium%2Ftaskiq-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Orfium","download_url":"https://codeload.github.com/Orfium/taskiq-aws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246182546,"owners_count":20736776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["missing-codeowners"],"created_at":"2024-12-09T17:24:16.466Z","updated_at":"2025-03-29T12:24:04.307Z","avatar_url":"https://github.com/Orfium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TaskIQ-AWS\n\ntaskiq-aws is a plugin for taskiq that adds a new broker based on amazonm's sqs.\n\n# Installation\n\nTo use this project you must have installed core taskiq library:\n```bash\npip install taskiq\n```\nThis project can be installed using pip:\n```bash\npip install taskiq-aws\n```\n\n# Usage\n\nLet's see the example with the sqs broker:\n\n```python\n# broker.py\nimport asyncio\n\nfrom taskiq_aws import SQSBroker\n\nbroker = SQSBroker(queue_url=http://localhost:4566)\n\n\n@broker.task\nasync def best_task_ever() -\u003e None:\n    \"\"\"Solve all problems in the world.\"\"\"\n    await asyncio.sleep(5.5)\n    print(\"All problems are solved!\")\n\n\nasync def main():\n    task = await best_task_ever.kiq()\n    print(await task.wait_result())\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\nLaunch the workers:\n`taskiq worker broker:broker`\nThen run the main code:\n`python3 broker.py`\n\nBrokers parameters:\n* `queue_url` - url to the sqs.\n* `aws_region` - aws region of the queue.\n* `task_id_generator` - custom task_id genertaor.\n* `result_backend` - custom result backend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forfium%2Ftaskiq-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forfium%2Ftaskiq-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forfium%2Ftaskiq-aws/lists"}