Skip to main content

Manage workers triggered by AWS SQS messages

Project description

SQS Worker

Manage workers triggered by AWS SQS messages

Description

SQS Worker is a Python library that provides a simple and efficient way to manage workers that are triggered by AWS SQS (Simple Queue Service) messages. It offers a structured approach to processing SQS messages with built-in error handling and message management capabilities.

Features

  • Easy-to-use worker framework for SQS message processing
  • Built-in error handling and exception management
  • Type-safe message models using Pydantic
  • Integration with AWS SQS via boto3
  • Support for observability tools

Installation

pip install sqs-worker

Or using uv:

uv add sqs-worker

Quick Start

from sqs_worker import worker, models

# Your worker implementation here
# See examples/ directory for detailed usage examples

Requirements

  • Python 3.12 or higher
  • AWS credentials configured (via AWS CLI, environment variables, or IAM roles)

License

This project is licensed under the GNU General Public License v3.0 or later. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Repository

https://github.com/badihio/sqs-worker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqs_worker-0.3.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqs_worker-0.3.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file sqs_worker-0.3.0.tar.gz.

File metadata

  • Download URL: sqs_worker-0.3.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.16

File hashes

Hashes for sqs_worker-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d96733c1921caf5536e5f9d77fd3b386eefbf7b98ab1a2e1cec90a405ab28c1e
MD5 89c82768b63437b6a939545f9b02e9f2
BLAKE2b-256 6fc6fa99e14e5c1b5eaaccba93e247604343a7c8e561605e347ff6079f56e185

See more details on using hashes here.

File details

Details for the file sqs_worker-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sqs_worker-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.16

File hashes

Hashes for sqs_worker-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c89796beb4c77b49d4b11a510682301d323b09152f3a555eac042bff9ba7ff
MD5 d083b65227685b78e41f932791c1e5e6
BLAKE2b-256 380bddb967b902b74553a3c17016d18f4e21ccbee757d9f2cb9be5ee550556b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page