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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SharedMemoryQueue-0.1.3.tar.gz
  • Upload date:
  • Size: 2.2 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.3.tar.gz
Algorithm Hash digest
SHA256 5d7aa6e9affab2ca24854cd13cc8140418b443efcc450875406365e692a8ebde
MD5 660a6944124ba669ea1675a2c1dd8fc9
BLAKE2b-256 518859dd04e3c228fb119f3d8dc9012193a55db6dd089114d282ca8d13cf9d7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0f61c9d8b2102dda657360fb2305c0995bca8d738c63c9c9bd6268a79b6c2f
MD5 118db1216ba5431fb08bd9e0ea8e1012
BLAKE2b-256 d937f00fd1a2c3aad19e7806b1a0592a98f4405a08466bdfe0152ac6804b3a6f

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