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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SharedMemoryQueue-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2e2f1a0ba559c5722241a650e44eaf84854a958155244a1994c7618a5464b4d8
MD5 7decd7b5177639ed68aaffdd7b3faffb
BLAKE2b-256 521be0cf5d29e58a4df6561263d7cbdb8733d0c681d8fb2af16141993f3fb854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c42bf8dadf7cc124d664489573bfd37eb07649689c5cc6f5300ffe45acbfe55f
MD5 aefc2eea1886940a2cd448d014d79c79
BLAKE2b-256 cfaf939d35524b52e11808eeb6f93c69e6f2f1b3d892cbe3b525d974ba3c7ffd

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