{ "info": { "author": "Thomas Sarboni", "author_email": "max-k@post.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-Multi-Redis\n=================\n\n*CI Status*\n\n.. image:: https://api.travis-ci.org/max-k/flask-multi-redis.svg?branch=master\n :target: https://travis-ci.org/max-k/flask-multi-redis\n :alt: Travis CI Status\n\n.. image:: https://codecov.io/gh/max-k/flask-multi-redis/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/max-k/flask-multi-redis\n :alt: Codecov Coverage Status\n\n.. image:: https://coveralls.io/repos/github/max-k/flask-multi-redis/badge.svg\n :target: https://coveralls.io/github/max-k/flask-multi-redis\n :alt: Coveralls Coverage Status\n\n.. image:: https://api.codacy.com/project/badge/Coverage/aac58b911e074237ab13a029e8a433eb\n :target: https://www.codacy.com/app/max-k/flask-multi-redis/dashboard\n :alt: Codacy Coverage Status\n\n.. image:: https://api.codacy.com/project/badge/Grade/aac58b911e074237ab13a029e8a433eb\n :target: https://www.codacy.com/app/max-k/flask-multi-redis/dashboard\n :alt: Codacy Code Grade\n\n.. image:: https://landscape.io/github/max-k/flask-multi-redis/master/landscape.svg?style=flat\n :target: https://landscape.io/github/max-k/flask-multi-redis\n :alt: Landscape Code Health\n\n.. image:: https://codeclimate.com/github/max-k/flask-multi-redis/badges/gpa.svg\n :target: https://codeclimate.com/github/max-k/flask-multi-redis\n :alt: Code Climate\n\n.. image:: https://codeclimate.com/github/max-k/flask-multi-redis/badges/coverage.svg\n :target: https://codeclimate.com/github/max-k/flask-multi-redis/coverage\n :alt: Code Climate Coverage\n\n*PyPI Status*\n\n.. image:: https://img.shields.io/pypi/v/Flask-Multi-Redis.svg\n :target: https://pypi.python.org/pypi/Flask-Multi-Redis\n :alt: Pypi Version\n\n.. image:: https://img.shields.io/pypi/status/Flask-Multi-Redis.svg\n :target: https://pypi.python.org/pypi/Flask-Multi-Redis\n :alt: Pypi Status\n\n.. image:: https://img.shields.io/pypi/implementation/Flask-Multi-Redis.svg\n :target: https://pypi.python.org/pypi/Flask-Multi-Redis\n :alt: Python Implementation\n\n.. image:: https://img.shields.io/pypi/pyversions/Flask-Multi-Redis.svg\n :target: https://pypi.python.org/pypi/Flask-Multi-Redis\n :alt: Python Versions\n\n.. image:: https://img.shields.io/badge/license-aGPLv3+%20License-blue.svg\n :target: https://www.gnu.org/licenses/agpl-3.0.html\n :alt: License aGPLv3+\n\n----\n\nAdds Redis support to Flask with fail-over or aggregation capabilities.\n\nMostly inspired by these projects :\n\n - Flask-Redis - https://github.com/underyx/flask-redis\n - Beholder - https://github.com/druidops/beholder\n\nBuilt on top of redis-py_.\n\nContributors\n------------\n\n - Thomas Sarboni - @maxk69 - https://github.com/max-k\n\nDescription\n-----------\n\nFlask-Multi-Redis allows you to easily access multiple Redis_ servers from Flask_ applications.\nIt supports SSL connections and password authentication.\nIt's not intended to implement all Redis commands but gives you the hability to make multi-threaded\nparallel queries to multiple Redis servers without the need to deploy a Redis cluster.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install flask-multi-redis\n\nConfiguration\n-------------\n\nEnable Flask-Multi-Redis in your application :\n\n.. code-block:: python\n\n from flask import Flask\n from flask.ext.redis import FlaskRedis\n\n app = Flask(__name__)\n redis_store = FlaskRedis(app)\n\nFlask-Multi-Redis provide a simple flexible configuration handling.\nIt reads its configuration from your Flask app.config dictionnary.\n\nDefault configuration for all servers :\n\n.. code-block:: python\n\n app.config['REDIS_DEFAULT_PORT'] = 6379\n app.config['REDIS_DEFAULT_DB'] = 0\n app.config['REDIS_DEFAULT_PASSWORD'] = None\n app.config['REDIS_DEFAULT_SOCKET_TIMEOUT'] = 5\n app.config['REDIS_DEFAULT_SSL'] = None\n\nUsage\n-----\n\nFlaskMultiRedis proxies attribute access to an underlying Redis connection.\nSo treat it as if it were a regular Redis instance.\n\n.. code-block:: python\n\n @app.route('/')\n def index():\n return redis_store.get('potato', 'Not Set')\n\nProtip: The redis-py package currently holds the 'redis' namespace,\nso if you are looking to make use of it, your Redis object shouldn't be named 'redis'.\n\nFor detailed instructions regarding the usage of the client, check the redis-py documentation.\n\nAdvanced features, such as Lua scripting, pipelines and callbacks are detailed within the projects README.\n\nContribute\n----------\n\n.. _Redis: http://redis.io/\n.. _Flask: http://flask.pocoo.org/\n.. _redis-py: https://github.com/andymccurdy/redis-py\n\n\nHistory\n=======\n\n0.1.4 (2016-09-02)\n------------------\n\n- Correct an error in aggregated put method\n\n0.1.3 (2016-09-02)\n------------------\n\n- Correct an error in aggregated delete method\n\n0.1.2 (2016-09-02)\n------------------\n\n- Correct an error in aggregated keys method\n\n0.1.1 (2016-09-02)\n------------------\n\n- Add scan_iter aggregated method\n\n0.1.0 (2016-08-26)\n------------------\n\n- First Beta : Now 100% covered\n\n0.0.2 (2016-07-20)\n------------------\n\n- First pre-release after some cleanup\n\n0.0.1 (2016-07-20)\n------------------\n\n- Initial commit", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/max-k/flask-multi-redis/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/max-k/flask-multi-redis", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "Flask-Multi-Redis", "package_url": "https://pypi.org/project/Flask-Multi-Redis/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-Multi-Redis/", "project_urls": { "Download": "https://github.com/max-k/flask-multi-redis/releases", "Homepage": "https://github.com/max-k/flask-multi-redis" }, "release_url": "https://pypi.org/project/Flask-Multi-Redis/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "MultiThreaded MultiServers Redis Extension for Flask Applications", "version": "0.1.5" }, "last_serial": 2476345, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5aee2ca158b6e9892b660c9b74f82a71", "sha256": "d98e42f7672c4ba19bc23902c84b9887eb1a393921a97ebbbedd890c8492904e" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5aee2ca158b6e9892b660c9b74f82a71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16777, "upload_time": "2016-07-20T07:48:21", "url": "https://files.pythonhosted.org/packages/4a/76/00ba3ef9fad52d09fdfad7250382b4759fe40f49dc3a88b4bb7a1940ca44/Flask-Multi-Redis-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "011fce6d5f9235de1e8a36f0a2727b6a", "sha256": "ab9270e1fe5b916dc12672914dc2f6f7d42a60b5c5fcbbb829b06340c5d0491d" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.0.2.tar.gz", "has_sig": false, "md5_digest": "011fce6d5f9235de1e8a36f0a2727b6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16945, "upload_time": "2016-07-20T09:33:17", "url": "https://files.pythonhosted.org/packages/9d/a8/a31562aa44ee1cc27d895047db8c55cb624523fee0bbbd1d4933526dc65c/Flask-Multi-Redis-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d97a7ab7c8dfed34205739b7947aa4e6", "sha256": "93b9aa5a82608d96bf6591106721977fa9e4279f21d98121391c7c21cd187e13" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d97a7ab7c8dfed34205739b7947aa4e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17796, "upload_time": "2016-08-22T23:35:38", "url": "https://files.pythonhosted.org/packages/d8/e4/6cf6851c59be4caf83a0e79d9e9940ac0f86e938061cc412c6d91d6e39c3/Flask-Multi-Redis-0.0.3.tar.gz" } ], "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8fad11142d41887e4295941d2eb6d137", "sha256": "b05c4e98b77da115b5b460793f8e22326b9666015b4a2c5cd00e6d522fe7881b" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8fad11142d41887e4295941d2eb6d137", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29771, "upload_time": "2016-09-02T08:43:18", "url": "https://files.pythonhosted.org/packages/90/fe/c9465b503a39554a2a1e674fbe0cee80bcb57bda83e266b81f91fc330bf8/Flask-Multi-Redis-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4ebd7055a8a609687ea37c0ef4d4be5e", "sha256": "2cafec7732a30fa9094075c50c50c43b3b8c360bce6828f4166775ea37eccee7" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4ebd7055a8a609687ea37c0ef4d4be5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29817, "upload_time": "2016-09-02T09:23:44", "url": "https://files.pythonhosted.org/packages/9b/d3/8a88e884f350249b581b75f295f56ece875399becab00d759f7b3c1bad7f/Flask-Multi-Redis-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "96b6d46f189016468f69caf346505179", "sha256": "0136b133444173d0581318e3c500b3b4757c92f7f21b1606b3fd6f55ffcbec4f" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.1.3.tar.gz", "has_sig": false, "md5_digest": "96b6d46f189016468f69caf346505179", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29865, "upload_time": "2016-09-02T09:59:44", "url": "https://files.pythonhosted.org/packages/ca/28/96410421ff5ee68c9bc9cf8e48621869452f35abda8b11e7139bf579db24/Flask-Multi-Redis-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9c78ab1fd2f7f5c88f948b51123df834", "sha256": "2ddea50e804771a2df29aa18171bd5b0dcf90cf809633d0d7bd4fbc487ef8c43" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9c78ab1fd2f7f5c88f948b51123df834", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29904, "upload_time": "2016-09-02T12:53:23", "url": "https://files.pythonhosted.org/packages/00/fd/29afd734fddc1cff041b866a50f58acb60d7d1515aeb084e2671a12bc7c3/Flask-Multi-Redis-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "13f18b755f7688137f63852b087fa256", "sha256": "326c72f24b4c7c2e41f1a15490fa5795da0a664e627fb7425e504d5d668632b0" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.1.5.tar.gz", "has_sig": false, "md5_digest": "13f18b755f7688137f63852b087fa256", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30138, "upload_time": "2016-11-22T14:07:24", "url": "https://files.pythonhosted.org/packages/b0/dd/8dc7f5a9a91de81c46fd2aa9b3cedf3bcfca6a0a0795715d95d578f05cfa/Flask-Multi-Redis-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "13f18b755f7688137f63852b087fa256", "sha256": "326c72f24b4c7c2e41f1a15490fa5795da0a664e627fb7425e504d5d668632b0" }, "downloads": -1, "filename": "Flask-Multi-Redis-0.1.5.tar.gz", "has_sig": false, "md5_digest": "13f18b755f7688137f63852b087fa256", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30138, "upload_time": "2016-11-22T14:07:24", "url": "https://files.pythonhosted.org/packages/b0/dd/8dc7f5a9a91de81c46fd2aa9b3cedf3bcfca6a0a0795715d95d578f05cfa/Flask-Multi-Redis-0.1.5.tar.gz" } ] }