Skip to main content

amgi-redis

amgi-redis is an AMGI compatible server to run AMGI applications against Redis.

Installation

pip install amgi-redis==0.49.0

Example

This example uses AsyncFast:

from dataclasses import dataclass

from amgi_redis import run
from asyncfast import AsyncFast

app = AsyncFast()


@dataclass
class Order:
    item_ids: list[str]


@app.channel("order-channel")
async def order_channel(order: Order) -> None:
    # Makes an order
    ...


if __name__ == "__main__":
    run(app, "order-channel")

Or the application could be run via the commandline:

asyncfast run amgi-redis main:app order-channel

Contact

For questions or suggestions, please contact jack.burridge@mail.com.

License

Copyright 2025 AMGI

Metadata

Release files for amgi-redis 0.49.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-redis 0.49.0
File Interpreter ABI Platform
amgi_redis-0.49.0-py3-none-any.whl Python 3 none any Details

Release files / amgi_redis-0.49.0-py3-none-any.whl

Download URL amgi_redis-0.49.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6a1194b26e74f709617ad05ad6620eedb768ce93a35caca62078649d9db963f
BLAKE2b-256 checksum
How to use checksums
b860c9c8d2dd2447724155a85a382c991db9109be73a8f1ae10e729f60c6bd31
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

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