AMGI SQS event source mapping handler
Project description
amgi-sqs-event-source-mapping
amgi-sqs-event-source-mapping is an adaptor for AMGI applications to run in an SQS event source mapped Lambda.
Installation
pip install amgi-sqs-event-source-mapping==0.25.1
Example
This example uses AsyncFast:
from dataclasses import dataclass
from amgi_sqs_event_source_mapping import SqsHandler
from asyncfast import AsyncFast
app = AsyncFast()
@dataclass
class Order:
item_ids: list[str]
@app.channel("order-queue")
async def order_queue(order: Order) -> None:
# Makes an order
...
handler = SqsHandler(app)
Contact
For questions or suggestions, please contact jack.burridge@mail.com.
License
Copyright 2025 AMGI
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 amgi_sqs_event_source_mapping-0.25.1.tar.gz.
File metadata
- Download URL: amgi_sqs_event_source_mapping-0.25.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117d6adc9c326a3b540296d0a63d15bbeba521c62bdb42968d3c3716ba96f10f
|
|
| MD5 |
aa4452dac73b7810a67c73e11409268b
|
|
| BLAKE2b-256 |
598674fddd63ced1b8d211f18f52d4ff5498e49043317b3babe0ffbb0586a0c6
|
File details
Details for the file amgi_sqs_event_source_mapping-0.25.1-py3-none-any.whl.
File metadata
- Download URL: amgi_sqs_event_source_mapping-0.25.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acd9fc94d5e128f0fa0b9f5328b41881d828fe8e362cc71b1cbf930f1c655393
|
|
| MD5 |
daa2f41a716ec721d91e1f806a026757
|
|
| BLAKE2b-256 |
175fe5cdba97c505134ca3d0527476769d41a8b03b9874fb7a1a3279464f4156
|