轻量级的异步消息通信,支持进程内消息通信,以及基于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.
Source Distribution
Built Distribution
File details
Details for the file pyemit-0.5.0.tar.gz
.
File metadata
- Download URL: pyemit-0.5.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.26.0 setuptools/60.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df498279d87991fdb3d1a795fc99ef4661f3f335ec3965252552f82398eabdf6 |
|
MD5 | daae70ea621c5024216923fa71756c46 |
|
BLAKE2b-256 | 877740f82f5acbcf278abdf05e2f4b9bad7bbaead4f5a327b3a9d751269c366d |
File details
Details for the file pyemit-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pyemit-0.5.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.26.0 setuptools/60.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121c45f2442aeb7aff44f365b8dcc89e10ef82290cd2e27169e4a7d9b0fb5702 |
|
MD5 | 9346415e833dc7b0e231b421f1babf3b |
|
BLAKE2b-256 | d4d90abe5aa38a4016a48b7caf0d0731c636906e57ced44d7ab1d694dac1f6db |