{ "info": { "author": "Tim Savage", "author_email": "tim@savage.company", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "#############\npyApp - Redis\n#############\n\n*Let us handle the boring stuff!*\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/ambv/black\n :alt: Once you go Black...\n\nThis extension provides a `Redis` client factory to allow configuration to be\nconfigured via pyApp settings.\n\nThe extension also provides checks to confirm the settings are correct and that\nthe application is able to connect to the redis instance.\n\nIt is strongly recommended to install the `hiredis` companion package to improve\nthe performance of the redis client.\n\nInstallation\n============\n\nInstall using *pip*::\n\n pip install pyapp-redis\n\nInstall using *pipenv*::\n\n pipenv install pyapp-redis\n\n\nAdd the `REDIS` block into your runtime settings file::\n\n REDIS = {\n \"default\": {\n \"url\": \"redis://user:pass@host:port/1\",\n },\n }\n\n\n.. note::\n\n The URL is a defined by Redis client see the\n `documentation `_.\n In addition to the url any argument that can be provided to `Redis.from_url` can be provided.\n\n\nUsage\n=====\n\nThe following example creates a `Redis` client instance::\n\n from pyapp_ext.redis import get_client\n\n # Get connection\n redis = get_client()\n\n redis.set(\"foo\")\n\n\nAPI\n===\n\n`pyapp_ext.redis.get_client(default: str = None) -> Redis`\n\n Get named `Redis` client instance\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pyapp-org/pyapp.redis", "keywords": "application,framework", "license": "BSD-3-Clause", "maintainer": "", "maintainer_email": "", "name": "pyApp-Redis", "package_url": "https://pypi.org/project/pyApp-Redis/", "platform": "any", "project_url": "https://pypi.org/project/pyApp-Redis/", "project_urls": { "Homepage": "https://github.com/pyapp-org/pyapp.redis" }, "release_url": "https://pypi.org/project/pyApp-Redis/1.0/", "requires_dist": [ "pyapp (>=4.0)", "redis (>=3.0)", "docutils ; extra == 'dev'", "black ; extra == 'dev'", "hiredis ; extra == 'hiredis'" ], "requires_python": ">=3.6", "summary": "Redis Extension for PyApp", "version": "1.0" }, "last_serial": 5629533, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "7ee2bb3197dcef1a5bc3e340b6cb8498", "sha256": "2eef32806b82de40d61c08bb99df5a0ec2fc08c2520663652f2176241d137bf6" }, "downloads": -1, "filename": "pyApp_Redis-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7ee2bb3197dcef1a5bc3e340b6cb8498", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6608, "upload_time": "2019-07-01T02:25:38", "url": "https://files.pythonhosted.org/packages/5c/9b/d627c7c60a4e1204e69d4c8e348b857dbd9444c7725fd8e72969869016d1/pyApp_Redis-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c46b8e2571e8e97e37c05d45c2a2c208", "sha256": "53b5b0563325827cbe04bf4578ad13aa4720ad3e878fd6eb05cd8471620589cd" }, "downloads": -1, "filename": "pyApp-Redis-1.0.tar.gz", "has_sig": false, "md5_digest": "c46b8e2571e8e97e37c05d45c2a2c208", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3014, "upload_time": "2019-07-01T02:25:39", "url": "https://files.pythonhosted.org/packages/59/bd/d50b2897bcadd2397c734f30624f48cee76457e3b4db18af6340405589b8/pyApp-Redis-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "9a923611e81c7eefa1584b1af44811fb", "sha256": "a1e76fdb68793f0ec4bb694ab498b80d3d487cbadf5abe3f21e04eace0a105c1" }, "downloads": -1, "filename": "pyApp_Redis-1.0b1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9a923611e81c7eefa1584b1af44811fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6", "size": 3827, "upload_time": "2019-05-30T12:51:36", "url": "https://files.pythonhosted.org/packages/95/60/e9b11fa0b10f43e315143008c5cb03d939a1555b36341bcd00d8e5506299/pyApp_Redis-1.0b1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "faa3265c86c73d23f8452d9174cca156", "sha256": "830c364dd6d39da8f32be90beb29efd4523b6cb287360f9f85f7789eaed44d99" }, "downloads": -1, "filename": "pyApp-Redis-1.0b1.tar.gz", "has_sig": false, "md5_digest": "faa3265c86c73d23f8452d9174cca156", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2885, "upload_time": "2019-05-30T12:51:38", "url": "https://files.pythonhosted.org/packages/9d/0a/3eb82bcc5b7d7377129b89b88dd4844da9220704b3dc0431b77b37502a85/pyApp-Redis-1.0b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ee2bb3197dcef1a5bc3e340b6cb8498", "sha256": "2eef32806b82de40d61c08bb99df5a0ec2fc08c2520663652f2176241d137bf6" }, "downloads": -1, "filename": "pyApp_Redis-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7ee2bb3197dcef1a5bc3e340b6cb8498", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6608, "upload_time": "2019-07-01T02:25:38", "url": "https://files.pythonhosted.org/packages/5c/9b/d627c7c60a4e1204e69d4c8e348b857dbd9444c7725fd8e72969869016d1/pyApp_Redis-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c46b8e2571e8e97e37c05d45c2a2c208", "sha256": "53b5b0563325827cbe04bf4578ad13aa4720ad3e878fd6eb05cd8471620589cd" }, "downloads": -1, "filename": "pyApp-Redis-1.0.tar.gz", "has_sig": false, "md5_digest": "c46b8e2571e8e97e37c05d45c2a2c208", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3014, "upload_time": "2019-07-01T02:25:39", "url": "https://files.pythonhosted.org/packages/59/bd/d50b2897bcadd2397c734f30624f48cee76457e3b4db18af6340405589b8/pyApp-Redis-1.0.tar.gz" } ] }