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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rabbitstore-0.1.0.tar.gz.
File metadata
- Download URL: rabbitstore-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84f8fabc8875d61821a4b80ceaca45835abc3b63958378fe540e2f9aac694449
|
|
| MD5 |
c10b01b44f16b493dc4ebef52baf8124
|
|
| BLAKE2b-256 |
45c919e43571c65ee27952ecf91a38fac1be87b0fac31e454b828e3d2e63c2de
|
File details
Details for the file rabbitstore-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rabbitstore-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c91659bca17aab836e0b76744b360bd06f14b72ad3a64b890c0d38bc6999a2b3
|
|
| MD5 |
03f068a24e8fe32cd36cf60d5ae2527a
|
|
| BLAKE2b-256 |
3498e974e84e78f7374221097033dad01cc119fc3b163e2e9b695b051cd49b2b
|