amgi-aio-pika
amgi-aio-pika is an AMGI compatible server to run AMGI applications against
AMQP (RabbitMQ) using aio-pika.
Installation
pip install amgi-aio-pika==0.45.1
Example
This example uses AsyncFast:
from dataclasses import dataclass
from amgi_aio_pika import run
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
...
if __name__ == "__main__":
run(app, "order-queue")
Or the application could be run via the commandline:
asyncfast run amgi-aio-pika main:app order-queue
Contact
For questions or suggestions, please contact jack.burridge@mail.com.
License
Copyright 2025 AMGI
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amgi_aio_pika-0.45.1.tar.gz
(4.2 kB
view details)
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_aio_pika-0.45.1.tar.gz.
File metadata
- Download URL: amgi_aio_pika-0.45.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 |
bb54f059d8d0744f158db8b513be37551854788d812e5369b26bf3d6cf653ed5
|
|
| MD5 |
0bf328cd24452de223386a9993634c09
|
|
| BLAKE2b-256 |
cb451a81de689605e2f9c09fd92ecc9e8408642b1037c7b04d9656cef8c1a118
|
File details
Details for the file amgi_aio_pika-0.45.1-py3-none-any.whl.
File metadata
- Download URL: amgi_aio_pika-0.45.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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 |
d1cceaed22c21ccc3060a3ae7010363e43faf1e26b06683a31bed4cd528abd35
|
|
| MD5 |
cc28dcb67e504f1320bf4e70a92a8393
|
|
| BLAKE2b-256 |
7dd8374043b0add98e5d29f9d19da2b871531229258ffc1c4dc7e31f574d3df7
|