轻量级的异步消息通信,支持进程内消息通信,以及基于REDIS PUBSUB的远程消息。提供了进一步封装RPC的底层机制。
Project description
py-emit
- light-weight asynchronous event system, support in-process communication, remote message server (currently redis
only) communication and remote procedure call (RPC).
Free software: MIT license
Documentation: https://pyemit.readthedocs.io.
Features
asynchronous support.
support in-process communication
support remote message server (currently redis, aioredis is required)
RPC (Remote procedure call)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-04-23)
First release on PyPI.
0.3.0 (2020-04-25)
RPC feature implemented
use pickle instead of json for serialization for better performance. Currently protocol 4 is used.
0.4.0 (2020-04-30)
Change signature of Remote.execute to Remote.invoke
0.4.5 (2020-06-15)
fixed #1
0.4.6 (2021-12-28)
Fixed that the stop method did not empty hannlers
0.4.7 (2021-12-29)
Fixed that the stop method did not empty hannlers, then add function error
0.4.8 (2021-12-29)
Add asynchronous registration
0.5.0 (2021-12-30)
Update aioredis version to 2.0.1
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.