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.46.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.46.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.46.0.tar.gz.
File metadata
- Download URL: amgi_aio_pika-0.46.0.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 |
315e095746cfee46a3073440b3161c7bb59ce2c28e003261ef3da64d237a2c3d
|
|
| MD5 |
d68586d762ccd53ce3726249d56d4d01
|
|
| BLAKE2b-256 |
b317ff765e32ed24b51b11777019c41fe8f37b30bf27abd0d8e680b20dfe8853
|
File details
Details for the file amgi_aio_pika-0.46.0-py3-none-any.whl.
File metadata
- Download URL: amgi_aio_pika-0.46.0-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 |
f0ba8700e6fc159444eff0ddfac8dca7a343b023606b8b373addce590d6ee2e5
|
|
| MD5 |
774df90594813ca1920c20a19f316762
|
|
| BLAKE2b-256 |
9c02002392b5645622f48d94bfb117c6e7dce70127cae1301bb0a4ce00bf87a0
|