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.47.0
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.47.0.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.47.0.tar.gz.
File metadata
- Download URL: amgi_aio_pika-0.47.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 |
7a11827b20a89ca0c9bcfc297a6cb0496829e808ad16f7b7b32b594aa5a6d07a
|
|
| MD5 |
6b16e845daeeede396b94e582b4aa6f0
|
|
| BLAKE2b-256 |
696d72ece755092b55ec25f5ae031c8f54f576ea532ca27a6660f3be443c36e6
|
File details
Details for the file amgi_aio_pika-0.47.0-py3-none-any.whl.
File metadata
- Download URL: amgi_aio_pika-0.47.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 |
25d673b686bc7f46c796f2ba95a67a175c5e0c7d964db5047773e3667c7b91a9
|
|
| MD5 |
5116f83b66ab4a1591023f612717663f
|
|
| BLAKE2b-256 |
0e7e9ade585dbae0467feb6ae44cfacfdb79f17e539d26a60d9ce49dc665d08f
|