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.6.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

SharedMemoryQueue-0.1.6-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SharedMemoryQueue-0.1.6.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for SharedMemoryQueue-0.1.6.tar.gz
Algorithm Hash digest
SHA256 db730a118af1ec2f1b737b56f3729e6b5e40d119897bae692998ea94b0a871e2
MD5 ca1dc65394560818602ec0860675bea9
BLAKE2b-256 485c169506b925307af44bea2a3f6aba19b6a1906fac80c8bfaafd857db0c35a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e3403cdce5060384ad47b87ed11102821d7ca68e8b6c665b9e09a38ddf06e160
MD5 7bd9ad67ee7eaf9e2177d8f36c4aabf4
BLAKE2b-256 cfc6fd572d2df7376cbae6b70c15d275c923ba4d1be91306e228f83298d7d3b1

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