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

Uploaded Source

Built Distribution

zmipc-0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file zmipc-0.5.tar.gz.

File metadata

  • Download URL: zmipc-0.5.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for zmipc-0.5.tar.gz
Algorithm Hash digest
SHA256 879a7240b09e53e6c3ddbe3f9a6e960524e750435e85206632fe3fba8e475107
MD5 e82965c9d7fcfa6dea0a9449f620a7af
BLAKE2b-256 71a57e0a383ec5161da7388df3b6cd66dc43194e0c3f165c4dc784d2dd42814f

See more details on using hashes here.

File details

Details for the file zmipc-0.5-py3-none-any.whl.

File metadata

  • Download URL: zmipc-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for zmipc-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cef8ba4e3ab5b6dd89edef618ffc17ba3bab91885e6cc535ad8d5587854e1151
MD5 0c8fcb2a7d0892db85e4505dcd61c92a
BLAKE2b-256 83208703910df520a1dfdd0921c403a6f9b95d4b26b4c062a1f7c8cab71f4359

See more details on using hashes here.

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