Metadata-Version: 2.3
Name: eric-sse
Version: 1.5.5.1
Summary: A lightweight message dispatcher based on SSE protocol data transfer objects format
License: MIT
Keywords: server sent events,sse,queue,concurrency
Author: Luca Stretti
Author-email: laxertu@gmail.com
Requires-Python: >=3.10, <3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: asyncio (>=3.4.3,<3.4.4)
Project-URL: Changelog, https://laxertu.github.io/eric/changelog.html
Project-URL: Documentation, https://laxertu.github.io/eric/docs.html
Project-URL: Homepage, https://laxertu.github.io/eric
Project-URL: Issues, https://github.com/laxertu/eric/issues
Project-URL: Repository, https://github.com/laxertu/eric
Description-Content-Type: text/markdown

<a id="the-lightweight-library-for-async-messaging-nobody-expects"></a>

# 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)

