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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SharedMemoryQueue-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1b9de1ee2ddf7dd0132afabebab56bdd3e6c77c2899f8f174a75717e0dac98da
MD5 a5460b10329447faa275050d204b8480
BLAKE2b-256 40e358a0cec49c1ef3913ce40ca83e4d46f51d4600f96799344cae3e6c46101f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b89cc82ff87bf55e24e9957468f79b39fe09c3cd3c25a914ed7c6e37d8cf8f2e
MD5 185a2f3711988fac14dc3c9d78a7d199
BLAKE2b-256 c2e548455938de50897ede8fb4799147b384ee424232074d8acec11e0191f17a

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