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.39.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.39.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.39.0.tar.gz.
File metadata
- Download URL: amgi_redis-0.39.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
92f20f9eabd6b1753333e37413128b31e94967ca00c297b15e6b04ed17a9ca94
|
|
| MD5 |
c82d31f62a1bcaa90caea2a757ba0e5b
|
|
| BLAKE2b-256 |
45d5ab3fe6d51faf79f505a156cf7f9ff0e5a02f6c3e8c4a9ecb0f9e95a0ade0
|
File details
Details for the file amgi_redis-0.39.0-py3-none-any.whl.
File metadata
- Download URL: amgi_redis-0.39.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
9b9f11617abb17da927facd4ad11579e9e8d3de49745472af9e5eeb841da0bb3
|
|
| MD5 |
36594270f033e1820f764131a7fe0b71
|
|
| BLAKE2b-256 |
a2a333ca0f2de0cb5ef3a4c3509d10c66c1300eb6b27b1d5e520ec7fac732c16
|