https://github.com/manimozaffar/typed-redis
Fully typed redis pub-sub example with aioclock
https://github.com/manimozaffar/typed-redis
Last synced: 11 days ago
JSON representation
Fully typed redis pub-sub example with aioclock
- Host: GitHub
- URL: https://github.com/manimozaffar/typed-redis
- Owner: ManiMozaffar
- Created: 2024-05-09T13:33:26.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T14:29:11.000Z (12 months ago)
- Last Synced: 2025-03-25T23:22:24.354Z (28 days ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typed-redis
This project simply demonstrate how you can write fully typed safe code for any distributed pub-sub pattern.
For this example, I used redis. You can apply same rule, to kafka, rabbitmq or other brokers as well :)
Check the `scripts/pub.py` and `scripts/sub.py` to see the use cases. and to setup the project, install rye, then run `rye sync`.