https://github.com/laxertu/eric
A lightweight message dispatcher based on SSE data transfer objects format
https://github.com/laxertu/eric
asyncio concurrent-programming library sse-server
Last synced: 9 months ago
JSON representation
A lightweight message dispatcher based on SSE data transfer objects format
- Host: GitHub
- URL: https://github.com/laxertu/eric
- Owner: laxertu
- License: mit
- Created: 2024-09-14T07:44:49.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T18:39:29.000Z (over 1 year ago)
- Last Synced: 2025-01-30T19:23:50.755Z (over 1 year ago)
- Topics: asyncio, concurrent-programming, library, sse-server
- Language: Python
- Homepage: https://laxertu.github.io/eric
- Size: 2.33 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The lightweight library for async messaging nobody expects.
*Installation*
pip install eric-sse
*Related packages*
* https://pypi.org/project/eric-redis-queues/ Redis integration
* https://pypi.org/project/eric-api/ FastApi microservice
*Features*
* Send to one listener and broadcast
* SSE format was adopted by design, making the library suitable for such kind of model
* Callbacks and threading support
* Sockets server prefab for offline inter process communication
*Possible applications*
* Message delivery mechanisms based on SSE
* Message queue processing (logging, ETL, http based notification systems, etc)
*Documentation*
* Reference https://laxertu.github.io/eric/docs.html
* A good example of usage is eric api service definition: https://github.com/laxertu/eric-api/blob/master/eric_api.py
* Some more example about other usages of the library: https://github.com/laxertu/eric/tree/master/examples
*Trivia*
* Library name pretends to be a tribute to the following movie [https://en.wikipedia.org/wiki/Looking_for_Eric](https://en.wikipedia.org/wiki/Looking_for_Eric)