{"id":17918022,"url":"https://github.com/bogdanp/dramatiq_sqs","last_synced_at":"2026-04-17T10:05:17.748Z","repository":{"id":48798352,"uuid":"126942743","full_name":"Bogdanp/dramatiq_sqs","owner":"Bogdanp","description":"A Dramatiq broker that can be used with Amazon SQS.","archived":false,"fork":false,"pushed_at":"2024-10-08T05:38:38.000Z","size":47,"stargazers_count":59,"open_issues_count":10,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T10:10:05.601Z","etag":null,"topics":["dramatiq","python3","sqs","taskqueue"],"latest_commit_sha":null,"homepage":"https://dramatiq.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bogdanp.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-03-27T06:58:55.000Z","updated_at":"2025-03-24T17:05:41.000Z","dependencies_parsed_at":"2025-01-04T20:45:48.522Z","dependency_job_id":"400b1716-4c2e-46ff-86a6-0f66e04325e1","html_url":"https://github.com/Bogdanp/dramatiq_sqs","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bogdanp%2Fdramatiq_sqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bogdanp%2Fdramatiq_sqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bogdanp%2Fdramatiq_sqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bogdanp%2Fdramatiq_sqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bogdanp","download_url":"https://codeload.github.com/Bogdanp/dramatiq_sqs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166169,"owners_count":20894654,"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":["dramatiq","python3","sqs","taskqueue"],"created_at":"2024-10-28T20:09:27.888Z","updated_at":"2026-04-17T10:05:17.743Z","avatar_url":"https://github.com/Bogdanp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dramatiq_sqs\n\n\u003e [!WARNING]  \n\u003e The project is under active development. There **will** be breaking changes before v1.0.0. Please make sure to pin the version when using this for anything important.\n\nA [Dramatiq] broker that can be used with [Amazon SQS].\n\nThis backend has a number of limitations compared to the built-in\nRedis and RMQ backends:\n\n* the max amount of time messages can be delayed by is 15 minutes,\n* messages can be at most 1MiB large and\n* messages must be processed within 12 hours of being pulled,\notherwise they will be redelivered.\n\nThe backend uses [boto3] under the hood.  For details on how\nauthorization works, check out its [docs].\n\n\n## Installation\n\n    pip install dramatiq_sqs\n\n\n## Usage\n\n``` python\nimport dramatiq\n\nfrom dramatiq.middleware import AgeLimit, TimeLimit, Callbacks, Pipelines, Prometheus, Retries\nfrom dramatiq_sqs import SQSBroker\n\nbroker = SQSBroker(\n    namespace=\"dramatiq_sqs_tests\",\n    middleware=[\n        Prometheus(),\n        AgeLimit(),\n        TimeLimit(),\n        Callbacks(),\n        Pipelines(),\n        Retries(min_backoff=1000, max_backoff=900000, max_retries=96),\n    ],\n)\ndramatiq.set_broker(broker)\n```\n\n\n## Usage with [ElasticMQ]\n\n``` python\nbroker = SQSBroker(\n    # ...\n    endpoint_url=\"http://127.0.0.1:9324\",\n)\n```\n\n## Example IAM Policy\n\nHere are the IAM permissions needed by Dramatiq:\n\n``` json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"sqs:CreateQueue\",\n                \"sqs:ReceiveMessage\",\n                \"sqs:DeleteMessage\",\n                \"sqs:DeleteMessageBatch\",\n                \"sqs:SendMessage\",\n                \"sqs:SendMessageBatch\"\n            ],\n            \"Resource\": [\"*\"]\n        }\n    ]\n}\n```\n\n## License\n\n`dramatiq_sqs` is licensed under Apache 2.0.\n\n\n[Dramatiq]: https://dramatiq.io\n[Amazon SQS]: https://aws.amazon.com/sqs/\n[boto3]: https://boto3.readthedocs.io/en/latest/\n[docs]: https://boto3.readthedocs.io/en/latest/guide/quickstart.html#configuration\n[LICENSE]: https://github.com/Bogdanp/dramatiq_sqs/blob/master/LICENSE\n[ElasticMQ]: https://github.com/adamw/elasticmq\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdanp%2Fdramatiq_sqs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbogdanp%2Fdramatiq_sqs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdanp%2Fdramatiq_sqs/lists"}