{ "info": { "author": "Stefan Liu", "author_email": "stefanliu@outlook.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Database" ], "description": "# redis-async\nA simple redis async wrapper for python3\n\n[![PYPI Version][pypi-image]][pypi-url]\n[![Build Status][travis-image]][travis-url]\n\n\n## NOTE:\nNot all redis command are covered yet. Please use it after release `0.1.0`.\n\n## Setup & Install\n\n#### Via pip\n\n```\npip install redis_async\n```\n\n#### From source\n\n```\npython setup.py build && python setup.py install\n```\n\n\n### Example\n\n```\nfrom redis_async import RedisHash, Redis\n\n\n# Initialize redis store\nRedis.initialize(url='redis://redis:port', prefix='application')\n\nclass Store:\n # actual redis key will be like: \"application:user:1\"\n User = RedisHash(tpl=\"user:{id}\")\n\ndef process_user(id):\n # preprocess code ...\n user = Store.User.hgetall(id)\n # process user block\n # ...\n\nasync def process_user_async(id):\n # preprocess code ...\n user = await Store.User.hgetallAsync(id)\n # process user block\n # ...\n\n```\n\n[pypi-image]: https://img.shields.io/pypi/v/redis-async.svg\n[pypi-url]: https://pypi.org/project/redis-async/\n[travis-image]: https://img.shields.io/travis/devfans/redis-async/master.svg\n[travis-url]: https://travis-ci.org/devfans/redis-async\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/devfans/redis-async", "keywords": "redis_async redis async wrapper for python3", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "redis-async", "package_url": "https://pypi.org/project/redis-async/", "platform": "", "project_url": "https://pypi.org/project/redis-async/", "project_urls": { "Homepage": "http://github.com/devfans/redis-async" }, "release_url": "https://pypi.org/project/redis-async/0.0.1/", "requires_dist": [ "redis" ], "requires_python": "", "summary": "Simple redis async wrapper for python3", "version": "0.0.1" }, "last_serial": 4267659, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "41609c8262a2a3c091b61e5ee125bea7", "sha256": "6ce565a930f3b1d1c86a9ac0e6c44cd4bf53a9008eb37d910d6f0aed15979457" }, "downloads": -1, "filename": "redis_async-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "41609c8262a2a3c091b61e5ee125bea7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3483, "upload_time": "2018-09-13T06:27:44", "url": "https://files.pythonhosted.org/packages/2f/8c/43e2a870e8fd85ca836be828f396641f4a2b8528b33d51fac720de9ca382/redis_async-0.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "41609c8262a2a3c091b61e5ee125bea7", "sha256": "6ce565a930f3b1d1c86a9ac0e6c44cd4bf53a9008eb37d910d6f0aed15979457" }, "downloads": -1, "filename": "redis_async-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "41609c8262a2a3c091b61e5ee125bea7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3483, "upload_time": "2018-09-13T06:27:44", "url": "https://files.pythonhosted.org/packages/2f/8c/43e2a870e8fd85ca836be828f396641f4a2b8528b33d51fac720de9ca382/redis_async-0.0.1-py3-none-any.whl" } ] }