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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SharedMemoryQueue-0.1.4.tar.gz
  • Upload date:
  • Size: 2.3 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.4.tar.gz
Algorithm Hash digest
SHA256 a68a82ec12a32c2d583b3fe2cca93783226deda722eb14cf3245b573558be091
MD5 62633b8b73867cc59a44a7f261da30a7
BLAKE2b-256 bf7f1c42b742d21057b9ebc158aeb1c0f669a36e794ca0a7f07ee1d71a5fdfa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 99c481d7c4fec0f8097fdec5bc8ee5280394ede4ae6291a9e8e8bbbaa00d5356
MD5 91321d559581ee85365f5dec269b6f45
BLAKE2b-256 a3463853942ddd6b75c31d520b1b7a3d18ebb711d22a3f6fc88c5eb2e6d8a32b

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