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}')

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

Uploaded Source

Built Distribution

SharedMemoryQueue-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SharedMemoryQueue-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e08039ffc53316083fdab6a74e5b71a000071e3540645f971e3d425a68ec2315
MD5 dfb9fafe50048544dafd26715aec4331
BLAKE2b-256 841bc62ebab5de095ae214d3924075044979c8ae5596dbdb7430d5ff948e38a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SharedMemoryQueue-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 460c62700f2b2692d0648126da80276dc86e0f3fdb45c13dc912882df4f10c95
MD5 5a2714f49cca7f4b7036cebe3dbf0a32
BLAKE2b-256 ca088bb498001d8413d2f263224dfeba4676a8214c3f65af4c26707fd15d0dce

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