AMGI Redis Server
Project description
amgi-redis
amgi-redis is an AMGI compatible server to run AMGI applications against Redis.
Installation
pip install amgi-redis==0.38.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amgi_redis-0.38.0.tar.gz
(3.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_redis-0.38.0.tar.gz.
File metadata
- Download URL: amgi_redis-0.38.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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 |
334b1ab63fe2c4e0f94a0ab3062eecd104dbc07c56294dbf7db799fddcdde551
|
|
| MD5 |
c60da1e195fbe4d7dba097b68379cf47
|
|
| BLAKE2b-256 |
f74e258a09019c8898fa5b90d72a196d33e2a9a625e55d33501d472ba099b379
|
File details
Details for the file amgi_redis-0.38.0-py3-none-any.whl.
File metadata
- Download URL: amgi_redis-0.38.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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 |
0d38d9532bc3496377186450b85f13365d536ec14acfb1a2c9b3fc3a2d21cb8a
|
|
| MD5 |
072f5a67a939acd38775a41023b46f67
|
|
| BLAKE2b-256 |
c10b9a8a6a1e9a209d06cc85e993a21378158505cf45b1178ad57c05291bbb49
|