Skip to main content

A zero-copy memory-sharing IPC on the top of mmap

Project description

zmipc

MIT License PyPi Version

Description

A Zero-copy Memory-sharing based IPC which intends to be handy in some cases where socket-based communications do not work well.

Getting Started

The usage of zmipc intends to be straight-forward. Here is an example:

from zmipc import ZMClient

sender = ZMClient()
receiver = ZMClient()
sender.add_publication(topic='test')
receiver.add_subscription(topic'test')
sender.publish(topic='test', msg='Hello World!')
print(receiver.receive(topic='test'))

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

zmipc-0.5.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

zmipc-0.5-py3-none-any.whl (4.0 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