# 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:
```bash
pip install rabbitstore
```
## Usage
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/rabbitstore",
"name": "rabbitstore",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/45/c9/19e43571c65ee27952ecf91a38fac1be87b0fac31e454b828e3d2e63c2de/rabbitstore-0.1.0.tar.gz",
"platform": null,
"description": "# RabbitStore\n\nRabbitStore 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.\n\n## Installation\n\nInstall the package using pip:\n\n```bash\npip install rabbitstore\n```\n\n## Usage\n```python\nfrom rabbitstore import RabbitStore\n\n# Set value\nRabbitStore.set('my_key', {'data': 'value'}, host='localhost', username='guest', password='guest')\n\n# Get value\nvalue = RabbitStore.get('my_key', host='localhost', username='guest', password='guest')\nprint(value)\n\n# Remove value\nRabbitStore.set('my_key', None, host='localhost', username='guest', password='guest')\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "A module for storing key-value pairs using RabbitMQ",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/yourusername/rabbitstore"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3498e974e84e78f7374221097033dad01cc119fc3b163e2e9b695b051cd49b2b",
"md5": "03f068a24e8fe32cd36cf60d5ae2527a",
"sha256": "c91659bca17aab836e0b76744b360bd06f14b72ad3a64b890c0d38bc6999a2b3"
},
"downloads": -1,
"filename": "rabbitstore-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "03f068a24e8fe32cd36cf60d5ae2527a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3267,
"upload_time": "2024-07-03T05:52:26",
"upload_time_iso_8601": "2024-07-03T05:52:26.220227Z",
"url": "https://files.pythonhosted.org/packages/34/98/e974e84e78f7374221097033dad01cc119fc3b163e2e9b695b051cd49b2b/rabbitstore-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "45c919e43571c65ee27952ecf91a38fac1be87b0fac31e454b828e3d2e63c2de",
"md5": "c10b01b44f16b493dc4ebef52baf8124",
"sha256": "84f8fabc8875d61821a4b80ceaca45835abc3b63958378fe540e2f9aac694449"
},
"downloads": -1,
"filename": "rabbitstore-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "c10b01b44f16b493dc4ebef52baf8124",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3318,
"upload_time": "2024-07-03T05:52:28",
"upload_time_iso_8601": "2024-07-03T05:52:28.143684Z",
"url": "https://files.pythonhosted.org/packages/45/c9/19e43571c65ee27952ecf91a38fac1be87b0fac31e454b828e3d2e63c2de/rabbitstore-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-03 05:52:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "rabbitstore",
"github_not_found": true,
"lcname": "rabbitstore"
}