Skip to main content

A module for storing key-value pairs using RabbitMQ

Project description

RabbitStore

RabbitStore is a Python module for storing and retrieving key-value pairs using RabbitMQ. It ensures that only the latest value is stored and can be retrieved multiple times.

Installation

Install the package using pip:

pip install rabbitstore

Usage

from rabbitstore import RabbitStore

# Set value
RabbitStore.set('my_key', {'data': 'value'}, host='localhost', username='guest', password='guest')

# Get value
value = RabbitStore.get('my_key', host='localhost', username='guest', password='guest')
print(value)

# Remove value
RabbitStore.set('my_key', None, host='localhost', username='guest', password='guest')

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

rabbitstore-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

rabbitstore-0.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

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