Skip to main content

A Python library for interacting with a shared memory queue via C++ DLL.

Project description

SharedMemoryQueue

SharedMemoryQueue is a Python library for interacting with a shared memory queue via a C++ DLL. It allows the creation of multiple queue instances, each identified by a unique name, enabling more flexible and scalable inter-process communication.

Installation

You can install SharedMemoryQueue using pip:

pip install SharedMemoryQueue

Usage

Here's a basic example of how to use the SharedMemoryQueue library:

from SharedMemoryQueue import enqueue_message, dequeue_message

# Enqueue messages into different queues
enqueue_message('Queue1', 'Message for Queue 1')
enqueue_message('Queue2', 'Message for Queue 2')

# Dequeue messages from the queues
message1 = dequeue_message('Queue1')
message2 = dequeue_message('Queue2')
print(f'Received from Queue1: {message1}')
print(f'Received from Queue2: {message2}')

Links

PyPi

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

SharedMemoryQueue-0.1.5.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

SharedMemoryQueue-0.1.5-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file SharedMemoryQueue-0.1.5.tar.gz.

File metadata

  • Download URL: SharedMemoryQueue-0.1.5.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for SharedMemoryQueue-0.1.5.tar.gz
Algorithm Hash digest
SHA256 dbb91bdbc0022be99041d52419419831356d2ecc14110bef413f5321aa2d0479
MD5 e44f79b5b5295fd30e41fce2972d03e5
BLAKE2b-256 e67dd6c0fa39e38da3b8b1e5ee46d692e56eecf1b73405dfd70d4ff8aeeacd4e

See more details on using hashes here.

File details

Details for the file SharedMemoryQueue-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 192f33181f8d8d054f0d79eabd54a055263ace9770e3908b3d761d7188a41c47
MD5 32edd9d236fb6dffe3b4d720fe66bbdc
BLAKE2b-256 e2c6a9763b6f07ec4fe4e684baf4bd194655d6f230a6c1e76af3d91387067eb3

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