Skip to main content

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.48.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

Metadata

Release files for amgi-aio-pika 0.48.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for amgi-aio-pika 0.48.0
File Interpreter ABI Platform
amgi_aio_pika-0.48.0-py3-none-any.whl Python 3 none any Details

Release files / amgi_aio_pika-0.48.0-py3-none-any.whl

Download URL amgi_aio_pika-0.48.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7600ecac7c81c2327af050b42c7e49f4b06675269b78f12b286bcfa92858874
BLAKE2b-256 checksum
How to use checksums
b4decb1b540ab9eae4c663d9062b16e9dfa34a8f65d31fd3ed3c71fcf8fdd6f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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}

Release history Release notifications | RSS feed

0.49.0

1 release file

This release

0.48.0 This release

1 release file

0.47.0

2 release files

0.46.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page