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.43.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.43.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.43.0.tar.gz.
File metadata
- Download URL: amgi_redis-0.43.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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 |
327b30c4b166ec6cdad36d8ead0a5e7bc56fd45d6bd6fafe2cea8566ac67d06f
|
|
| MD5 |
18bb537e3932a17b51794d5189239851
|
|
| BLAKE2b-256 |
21f42cfe7b7d67c99acc18982bdad8ae560719df9c7ba2fb114d5d2bcd0ad139
|
File details
Details for the file amgi_redis-0.43.0-py3-none-any.whl.
File metadata
- Download URL: amgi_redis-0.43.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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 |
282bd987d92569cee8759e3f010d9de2cf3cd5c04d051d6241fa85118db1a261
|
|
| MD5 |
ca9864cc89fd1d5a443e29459d10d570
|
|
| BLAKE2b-256 |
b7f166d5fb613ce05a367ba6f06c90b6b3ba91f46656d83d58d66ca1605eb339
|