Socket
Book a DemoInstallSign in
Socket

amgi-redis

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amgi-redis

AMGI Redis Server

pipPyPI
Version
0.25.0
Maintainers
1

amgi-redis

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

Installation

pip install amgi-redis==0.25.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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts