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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for rabbitstore-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84f8fabc8875d61821a4b80ceaca45835abc3b63958378fe540e2f9aac694449
MD5 c10b01b44f16b493dc4ebef52baf8124
BLAKE2b-256 45c919e43571c65ee27952ecf91a38fac1be87b0fac31e454b828e3d2e63c2de

See more details on using hashes here.

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

Hashes for rabbitstore-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c91659bca17aab836e0b76744b360bd06f14b72ad3a64b890c0d38bc6999a2b3
MD5 03f068a24e8fe32cd36cf60d5ae2527a
BLAKE2b-256 3498e974e84e78f7374221097033dad01cc119fc3b163e2e9b695b051cd49b2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page