smart-redis-storage


Namesmart-redis-storage JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/smartlegionlab/smart_redis_storage/
SummaryConvenient work with Redis.
upload_time2024-06-16 08:29:39
maintainerNone
docs_urlNone
authorA.A. Suvorov
requires_python>=3.6
licenseBSD 3-Clause License
keywords redis django smartlegionlab redis storage redis storage manager
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # smart_redis_storage <sup>0.1.1</sup>
Redis storage manager.

***

![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/smart_redis_storage)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/smart_redis_storage?label=pypi%20downloads)](https://pypi.org/project/smart_redis_storage/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/smart_redis_storage)](https://github.com/smartlegionlab/smart_redis_storage/)
[![GitHub](https://img.shields.io/github/license/smartlegionlab/smart_redis_storage)](https://github.com/smartlegionlab/smart_redis_storage/blob/master/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/smart_redis_storage)](https://pypi.org/project/smart_redis_storage)
[![PyPI - Format](https://img.shields.io/pypi/format/smart_redis_storage)](https://pypi.org/project/smart_redis_storage)
[![GitHub Repo stars](https://img.shields.io/github/stars/smartlegionlab/smart_redis_storage?style=social)](https://github.com/smartlegionlab/smart_redis_storage/)
[![GitHub watchers](https://img.shields.io/github/watchers/smartlegionlab/smart_redis_storage?style=social)](https://github.com/smartlegionlab/smart_redis_storage/)
[![GitHub forks](https://img.shields.io/github/forks/smartlegionlab/smart_redis_storage?style=social)](https://github.com/smartlegionlab/smart_redis_storage/)

***

Author and developer: ___A.A. Suvorov___

***

## Help:

`pip install smart-redis-storage`

> CRUD (Create, Read, Update, Delete) for Redis.
> Used in a large corporate project in a multi-user CRM (Django) to store intermediate data.
> I used user ids as uniq_key.
> 
> 

```python
from smart_redis_storage.redis_storage import RedisStorageManager

user_id = 1
redis_storage_manager = RedisStorageManager()
redis_storage_manager.set_data(uniq_key=user_id, key='data', value={'id': 1, 'age': 33})
data = redis_storage_manager.get_data(uniq_key=user_id, key='data')
print(data) # {'id': 1, 'age': 33}
print(type(data)) # <class 'dict'>
```

***

## Disclaimer of liability:

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

***

## Copyright:
    --------------------------------------------------------
    Licensed under the terms of the BSD 3-Clause License
    (see LICENSE for details).
    Copyright © 2018-2024, A.A. Suvorov
    All rights reserved.
    --------------------------------------------------------

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/smartlegionlab/smart_redis_storage/",
    "name": "smart-redis-storage",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "redis, django, smartlegionlab, redis storage, redis storage manager",
    "author": "A.A. Suvorov",
    "author_email": "smartlegiondev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/03/26/7b42502d4f1880717c99d92cea7a986e78c567680da1ce40311642ab3652/smart_redis_storage-0.1.1.tar.gz",
    "platform": null,
    "description": "# smart_redis_storage <sup>0.1.1</sup>\nRedis storage manager.\n\n***\n\n![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/smart_redis_storage)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/smart_redis_storage?label=pypi%20downloads)](https://pypi.org/project/smart_redis_storage/)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/smart_redis_storage)](https://github.com/smartlegionlab/smart_redis_storage/)\n[![GitHub](https://img.shields.io/github/license/smartlegionlab/smart_redis_storage)](https://github.com/smartlegionlab/smart_redis_storage/blob/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/smart_redis_storage)](https://pypi.org/project/smart_redis_storage)\n[![PyPI - Format](https://img.shields.io/pypi/format/smart_redis_storage)](https://pypi.org/project/smart_redis_storage)\n[![GitHub Repo stars](https://img.shields.io/github/stars/smartlegionlab/smart_redis_storage?style=social)](https://github.com/smartlegionlab/smart_redis_storage/)\n[![GitHub watchers](https://img.shields.io/github/watchers/smartlegionlab/smart_redis_storage?style=social)](https://github.com/smartlegionlab/smart_redis_storage/)\n[![GitHub forks](https://img.shields.io/github/forks/smartlegionlab/smart_redis_storage?style=social)](https://github.com/smartlegionlab/smart_redis_storage/)\n\n***\n\nAuthor and developer: ___A.A. Suvorov___\n\n***\n\n## Help:\n\n`pip install smart-redis-storage`\n\n> CRUD (Create, Read, Update, Delete) for Redis.\n> Used in a large corporate project in a multi-user CRM (Django) to store intermediate data.\n> I used user ids as uniq_key.\n> \n> \n\n```python\nfrom smart_redis_storage.redis_storage import RedisStorageManager\n\nuser_id = 1\nredis_storage_manager = RedisStorageManager()\nredis_storage_manager.set_data(uniq_key=user_id, key='data', value={'id': 1, 'age': 33})\ndata = redis_storage_manager.get_data(uniq_key=user_id, key='data')\nprint(data) # {'id': 1, 'age': 33}\nprint(type(data)) # <class 'dict'>\n```\n\n***\n\n## Disclaimer of liability:\n\n    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n***\n\n## Copyright:\n    --------------------------------------------------------\n    Licensed under the terms of the BSD 3-Clause License\n    (see LICENSE for details).\n    Copyright \u00a9 2018-2024, A.A. Suvorov\n    All rights reserved.\n    --------------------------------------------------------\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Convenient work with Redis.",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://github.com/smartlegionlab/smart_redis_storage/blob/master/README.md",
        "Homepage": "https://github.com/smartlegionlab/smart_redis_storage/",
        "Release notes": "https://github.com/smartlegionlab/smart_redis_storage/releases"
    },
    "split_keywords": [
        "redis",
        " django",
        " smartlegionlab",
        " redis storage",
        " redis storage manager"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4619d40a30d7d76e03796a9c9c6b7a2d3feeb8d86fa8adf384264171f6aab762",
                "md5": "2042482c3cda055fd95e7ed7ebfb8299",
                "sha256": "c60f33bf810ba387589912d3e7243af0c2555affdaeab405df5d864b5e96f993"
            },
            "downloads": -1,
            "filename": "smart_redis_storage-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2042482c3cda055fd95e7ed7ebfb8299",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4704,
            "upload_time": "2024-06-16T08:29:38",
            "upload_time_iso_8601": "2024-06-16T08:29:38.122873Z",
            "url": "https://files.pythonhosted.org/packages/46/19/d40a30d7d76e03796a9c9c6b7a2d3feeb8d86fa8adf384264171f6aab762/smart_redis_storage-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03267b42502d4f1880717c99d92cea7a986e78c567680da1ce40311642ab3652",
                "md5": "acb833c718fa502ded54916379c55299",
                "sha256": "39af4054d130deb922c9158dbd863e5f22d7376347d58d704ec251516c6a8591"
            },
            "downloads": -1,
            "filename": "smart_redis_storage-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "acb833c718fa502ded54916379c55299",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3662,
            "upload_time": "2024-06-16T08:29:39",
            "upload_time_iso_8601": "2024-06-16T08:29:39.783663Z",
            "url": "https://files.pythonhosted.org/packages/03/26/7b42502d4f1880717c99d92cea7a986e78c567680da1ce40311642ab3652/smart_redis_storage-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-16 08:29:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "smartlegionlab",
    "github_project": "smart_redis_storage",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "smart-redis-storage"
}
        
Elapsed time: 0.25647s