aws-sqs-consumer-0.0.5
توضیحات
AWS SQS Consumer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aws-sqs-consumer-0.0.5 |
| نام | aws-sqs-consumer |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hexmos Technology |
| ایمیل نویسنده | nobody@flyweightgroup.com |
| آدرس صفحه اصلی | https://aws-sqs-consumer-python.readthedocs.io/ |
| آدرس اینترنتی | https://pypi.org/project/aws-sqs-consumer/ |
| مجوز | MIT |
# Python AWS SQS Consumer
[](https://pypi.org/project/aws-sqs-consumer/)
[](https://github.com/HexmosTech/aws_sqs_consumer_python/actions/workflows/tests.yml)

Write Amazon Simple Queue Service (SQS) consumers in Python with simplified interface. Define your logic to process an SQS message. After you're done processing, messages are deleted from the queue.
Checkout the full documentation - [https://aws-sqs-consumer-python.readthedocs.io/en/latest/](https://aws-sqs-consumer-python.readthedocs.io/en/latest/)
## Installation
```
pip install aws-sqs-consumer
```
## Simple Usage
```python
from aws_sqs_consumer import Consumer, Message
class SimpleConsumer(Consumer):
def handle_message(self, message: Message):
# Write your logic to handle a single `message`.
print("Received message: ", message.Body)
consumer = SimpleConsumer(
queue_url="https://sqs.eu-west-1.amazonaws.com/12345678901/test_queue",
polling_wait_time_ms=5
)
consumer.start()
```
## Contributing
Checkout the Contribution guidelines - [CONTRIBUTING.md](CONTRIBUTING.md)
نیازمندی
| مقدار | نام |
|---|---|
| >=1.16.0,<2.0.0 | boto3 |
| >=1.20.0,<2.0.0 | botocore |
| >=0.2.0,<0.3.0 | single-source |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl aws-sqs-consumer-0.0.5:
pip install aws-sqs-consumer-0.0.5.whl
نصب پکیج tar.gz aws-sqs-consumer-0.0.5:
pip install aws-sqs-consumer-0.0.5.tar.gz