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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqs_worker-0.1.0.tar.gz.
File metadata
- Download URL: sqs_worker-0.1.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8d5dcf1e5f42c7c0dadad8ed8c3a26b53f61cd1caad034d4d6ec325a3048ce9
|
|
| MD5 |
2f6ce2cbb1f9a67bad5a68a6afe0b509
|
|
| BLAKE2b-256 |
73963e434a5ff88634e3b18665d6a288099dddaf4dbce444038d50a5b252478a
|
File details
Details for the file sqs_worker-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sqs_worker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a8ab604db0c0fc4c1280962f837c35a5d53ed39c2417f116e0138632aa76549
|
|
| MD5 |
38cc7917584aba33649ed406f1466557
|
|
| BLAKE2b-256 |
486f5373159f62fae4004a22719c7939a89d8aa4d5644378737c7e0a3ab74ef4
|