{"id":37065275,"url":"https://github.com/digitalfortress-dev/python-sqs-client","last_synced_at":"2026-01-14T07:38:28.974Z","repository":{"id":211082947,"uuid":"728083233","full_name":"digitalfortress-dev/python-sqs-client","owner":"digitalfortress-dev","description":"AWS SQS client for Python","archived":false,"fork":false,"pushed_at":"2024-05-21T07:03:52.000Z","size":29,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T22:50:14.502Z","etag":null,"topics":["aws","python","sqs","sqs-client"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/sqs-client","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digitalfortress-dev.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":"2023-12-06T07:35:29.000Z","updated_at":"2025-02-25T14:43:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"5293cd81-2559-4942-a11c-3bde5ba7d178","html_url":"https://github.com/digitalfortress-dev/python-sqs-client","commit_stats":null,"previous_names":["digitalfortress-dev/python-sqs-client"],"tags_count":9,"template":false,"template_full_name":"digitalfortress-dev/git-templates","purl":"pkg:github/digitalfortress-dev/python-sqs-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fpython-sqs-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fpython-sqs-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fpython-sqs-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fpython-sqs-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalfortress-dev","download_url":"https://codeload.github.com/digitalfortress-dev/python-sqs-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fpython-sqs-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","python","sqs","sqs-client"],"created_at":"2026-01-14T07:38:28.203Z","updated_at":"2026-01-14T07:38:28.963Z","avatar_url":"https://github.com/digitalfortress-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.digitalfortress.dev/\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://okela-bucket-s3.s3.ap-southeast-1.amazonaws.com/logo/Digital+Fortress+-+Logo.png\"\u003e\n      \u003cimg alt=\"Digital Fortress logo\" src=\"https://okela-bucket-s3.s3.ap-southeast-1.amazonaws.com/logo/Digital+Fortress+-+Logo.png\"\u003e\n    \u003c/picture\u003e    \n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n# Python SQS client\n\n## Getting Started\n\nInstall package\n```commandline\npip install sqs-client\n```\n\n## Example\n\n#### Subscribe\n\n```python\nfrom sqs_client.client import SQSClient\n\nsqs_client = SQSClient()\n\n\n# Subscribe to a SQS\n@sqs_client.task(\n    queue_name=\"sqs-queue-name\",\n    wait_time_seconds=20,\n    visibility_timeout=300,\n    daemon=False,\n)\ndef test_task(message):\n    print(\"test_task received:\", message)\n```\n\n#### Publish\n```python\nfrom sqs_client.client import SQSClient\nfrom sqs_client.publisher import Publisher\n\nsqs_client = SQSClient()\n\nsqs_client.publish(\n    queue_name=\"sqs-queue-name\",\n    message=\"test message\",\n)\n\n# or\n\npublisher = Publisher(\n    sqs_client=sqs_client,\n    queue_name=\"sqs-queue-name\",\n)\n\npublisher.publish(\"test message\")\n```\n\n### Lazy mode\n\nFaster to subscribe and publish a message to SQS\n\n```python\nfrom sqs_client.client import SQSClient\n\nsqs_client = SQSClient()\n\n\n# Subscribe to a SQS\n@sqs_client.task(\n    queue_name=\"sqs-queue-name\",\n    lazy=True,\n    daemon=False,\n    wait_time_seconds=20,\n    visibility_timeout=300,\n)\ndef test_task(message, abc):\n    print(\"test_task received message:\", message)\n    print(\"test_task received abc:\", abc)\n\n\n# Publish a message\ntest_task.trigger(\"Test message\", abc=1)\n```\n\nPublish a lazy mode message without subscribe\n\n```python\nfrom sqs_client.client import SQSClient\nfrom sqs_client.publisher import Publisher\n\nsqs_client = SQSClient()\n\npublisher = Publisher(\n    sqs_client=sqs_client,\n    queue_name=\"sqs-queue-name\",\n)\n\npublisher.publish_lazy(\"Test lazy message\", abc=1)\n```\n\n## License\n\nThis project is Copyright (c) 2023 and onwards Digital Fortress. It is free software and may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: /LICENSE\n\n## About\n\u003ca href=\"https://www.digitalfortress.dev/\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://okela-bucket-s3.s3.ap-southeast-1.amazonaws.com/logo/Digital+Fortress+-+Logo.png\"\u003e\n    \u003cimg alt=\"Digital Fortress logo\" src=\"https://okela-bucket-s3.s3.ap-southeast-1.amazonaws.com/logo/Digital+Fortress+-+Logo.png\" width=\"160\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\nThis project is made and maintained by Digital Fortress.\n\nWe are an experienced team in R\u0026D, software, hardware, cross-platform mobile and DevOps.\n\nSee more of [our projects][projects] or do you need to complete one?\n\n-\u003e [Let’s connect with us][website]\n\n[projects]: https://github.com/digitalfortress-dev\n[website]: https://www.digitalfortress.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalfortress-dev%2Fpython-sqs-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalfortress-dev%2Fpython-sqs-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalfortress-dev%2Fpython-sqs-client/lists"}