Skip to main content

轻量级的异步消息通信,支持进程内消息通信,以及基于REDIS PUBSUB的远程消息。提供了进一步封装RPC的底层机制。

Project description

py-emit

https://img.shields.io/pypi/v/pyemit.svg https://img.shields.io/travis/jieyu-tech/pyemit.svg Documentation Status https://codecov.io/gh/zillionare/pyemit/branch/master/graph/badge.svg
light-weight asynchronous event system, support in-process communication, remote message server (currently redis

only) communication and remote procedure call (RPC).

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyemit-0.5.0.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

pyemit-0.5.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page