{ "info": { "author": "Frost Ming", "author_email": "mianghong@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development" ], "description": "Redis Wrapper\n=============\n.. image:: https://img.shields.io/pypi/v/rediswrapper.svg\n :target: https://pypi.python.org/pypi/rediswrapper\n.. image:: https://img.shields.io/pypi/pyversions/rediswrapper.svg\n :target: https://pypi.python.org/pypi/rediswrapper\n.. image:: https://travis-ci.org/frostming/rediswrapper.svg?branch=master\n :target: https://travis-ci.org/frostming/rediswrapper\n.. image:: https://coveralls.io/repos/github/frostming/rediswrapper/badge.svg?branch=master\n :target: https://coveralls.io/github/frostming/rediswrapper?branch=master\n\n*rediswrapper is a pythonic wrapper of Redis Client for end users. The whole storage\nacts like a python dict as well as its child storage values.*\n\nFeatures\n--------\n* The root client support dict-like operations\n* Python object wrappers for list, set, hash type values\n* Implicit serialization and deserialization when storing and fetching data\n\nInstallation\n------------\nFrom PyPI::\n\n pip install rediswrapper\n\nFrom GitHub::\n\n git clone https://github.com/frostming/rediswrapper\n cd rediswrapper\n python setup.py install\n\n\nUsage\n-----\n\n``rediswrapper`` will try to serialize non-sting values and store them in redis and\ndeserialize them when fetching back.\n\nAll redis value types are mocked with respective python objects and support all\nstandard methods as the builtin types.\n\n.. code:: python\n\n >>> import rediswrapper\n >>> redis = rediswrapper.RedisDict()\n # String value\n >>> redis['a'] = 'hello'\n # int value\n >>> redis['b'] = 2\n >>> dict(redis)\n {'a': 'hello', 'b': 2}\n # Picklable object\n >>> import datetime\n >>> redis['c'] = datetime.datetime.now()\n # List value\n >>> redis['d'] = list(range(5))\n >>> redis['d'].append(0)\n >>> redis['d']\n ListType value([0, 1, 2, 3, 4, 0])\n # Hash value\n >>> redis['e'] = {'a': 1, 'b': 2}\n >>> redis['e'].get('a')\n 1\n # Set value\n >>> redis['f'] = set([1, 2])\n >>> redis['f'].add(3)\n >>> redis['f']\n SetType value([1, 2, 3])\n\nTo inspect those value types, one should use the ABCs defined in ``collections``\nmodule.\n\n.. code:: python\n\n >>> from collections import Mapping\n >>> isinstance(redis['e'], Mapping)\n True\n\nHistory\n-------\n\nv0.3.0\n * Drop support for Python 3.3\n * Fix a vulnerability issue that cause users run arbitrary scripts.\n\nLicensing\n---------\nThis work is open-sourced under the `MIT `_ license.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/frostming/rediswrapper", "keywords": "redis client mock", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rediswrapper", "package_url": "https://pypi.org/project/rediswrapper/", "platform": "", "project_url": "https://pypi.org/project/rediswrapper/", "project_urls": { "Homepage": "https://github.com/frostming/rediswrapper" }, "release_url": "https://pypi.org/project/rediswrapper/0.3.0/", "requires_dist": [ "redis" ], "requires_python": "", "summary": "Pythonic wrapper for Redis Client.", "version": "0.3.0" }, "last_serial": 5931342, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2b14dced83303d0aabca42ba3a49dc3a", "sha256": "c18e320941c758ed07b988ad93e8c6f390bacb8006d6c174664e4138d39ae9c8" }, "downloads": -1, "filename": "rediswrapper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2b14dced83303d0aabca42ba3a49dc3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3486, "upload_time": "2017-05-04T11:29:38", "url": "https://files.pythonhosted.org/packages/26/1e/4cd9f6943eb2d742df76d96b64c5b09546260a5c758af45ac2f359819eee/rediswrapper-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3c8ca976594748b188343c244648d452", "sha256": "8d4b13956252e2a3edd28467a9cc58d08b4fa03b0d1c4501a28e377d9e44278e" }, "downloads": -1, "filename": "rediswrapper-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3c8ca976594748b188343c244648d452", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4324, "upload_time": "2017-05-04T13:28:46", "url": "https://files.pythonhosted.org/packages/2c/e1/d9f9e8b4d9ba316b9394c949e15a577b09233601097912a416076bab21e5/rediswrapper-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9b53e79e701d252b957b1cc4f4bd4bec", "sha256": "dde0a7344a34f9f8cbb0795a69de90b6fefd6c187af6274bf965fd1b9067dc97" }, "downloads": -1, "filename": "rediswrapper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9b53e79e701d252b957b1cc4f4bd4bec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5415, "upload_time": "2017-05-07T08:50:50", "url": "https://files.pythonhosted.org/packages/4f/12/96a379b041e40d96cc53ae7912e50dd05dff38b52da532aba9588afeabfa/rediswrapper-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "99d17033d72e3549994e470b5b2337f8", "sha256": "f70698f8c61bfbb721b3cbf6bc22641e4f2f1756f1f9cd2fe5acec098ed5f37c" }, "downloads": -1, "filename": "rediswrapper-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "99d17033d72e3549994e470b5b2337f8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5933, "upload_time": "2019-10-05T08:22:41", "url": "https://files.pythonhosted.org/packages/7d/9b/84a7cd2b8901b7336e9b5f0f48920cb6657b80cba9d02283736834f1f64a/rediswrapper-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "304f8e4131ac8db6ed01a835837357a0", "sha256": "08bb42f99453c6939bb27ecaba911a0cb4d9910ca6b3524942d4856fd425f627" }, "downloads": -1, "filename": "rediswrapper-0.3.0.tar.gz", "has_sig": false, "md5_digest": "304f8e4131ac8db6ed01a835837357a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5490, "upload_time": "2019-10-05T08:22:43", "url": "https://files.pythonhosted.org/packages/eb/4c/f5121ffb85c71018d3df744e7552e191111ba6d611aa634bf62ced7cf2d6/rediswrapper-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99d17033d72e3549994e470b5b2337f8", "sha256": "f70698f8c61bfbb721b3cbf6bc22641e4f2f1756f1f9cd2fe5acec098ed5f37c" }, "downloads": -1, "filename": "rediswrapper-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "99d17033d72e3549994e470b5b2337f8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5933, "upload_time": "2019-10-05T08:22:41", "url": "https://files.pythonhosted.org/packages/7d/9b/84a7cd2b8901b7336e9b5f0f48920cb6657b80cba9d02283736834f1f64a/rediswrapper-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "304f8e4131ac8db6ed01a835837357a0", "sha256": "08bb42f99453c6939bb27ecaba911a0cb4d9910ca6b3524942d4856fd425f627" }, "downloads": -1, "filename": "rediswrapper-0.3.0.tar.gz", "has_sig": false, "md5_digest": "304f8e4131ac8db6ed01a835837357a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5490, "upload_time": "2019-10-05T08:22:43", "url": "https://files.pythonhosted.org/packages/eb/4c/f5121ffb85c71018d3df744e7552e191111ba6d611aa634bf62ced7cf2d6/rediswrapper-0.3.0.tar.gz" } ] }