{ "info": { "author": "Sean M. Collins", "author_email": "sean@coreitpro.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Bottle", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=====================\nBottle-Redis\n=====================\n\n.. image:: https://travis-ci.org/bottlepy/bottle-redis.svg?branch=master\n :target: https://travis-ci.org/bottlepy/bottle-redis\n\nRedis is an open source, advanced key-value store. It is often referred\nto as a data structure server since keys can contain strings, hashes,\nlists, sets and sorted sets.\n\nThis plugin simplifies the use of redis databases in your Bottle applications.\nOnce installed, all you have to do is to add a ``rdb`` keyword argument\n(configurable) to route callbacks that need a database connection.\n\nInstallation\n===============\n\nInstall with one of the following commands::\n\n $ pip install bottle-redis\n $ easy_install bottle-redis\n\nor download the latest version from github::\n\n $ git clone git://github.com/bottlepy/bottle-extras.git\n $ cd bottle-extras/redis\n $ python setup.py install\n\nUsage\n===============\n\nOnce installed to an application, the plugin passes an open\n:class:`redis.Redis` instance to all routes that require a ``rdb`` keyword\nargument::\n\n import bottle\n\n app = bottle.Bottle()\n plugin = bottle.ext.redis.RedisPlugin(host='localhost')\n app.install(plugin)\n\n @app.route('/show/:item')\n def show(item, rdb):\n row = rdb.get(item)\n if row:\n return template('showitem', item=item)\n return HTTPError(404, \"Page not found\")\n\nRoutes that do not expect a ``rdb`` keyword argument are not affected.\n\nConfiguration\n=============\n\nThe following configuration options exist for the plugin class:\n\n* **host**: Host on which the Redis server is located (default: localhost ).\n* **port**: Port on which the Redis server is listening (default: 6379)\n* **database** : Select the database to use (default: 0)\n* **keyword**: The keyword argument name that triggers the plugin (default: 'rdb').\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bottlepy/bottle-redis", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle-redis", "package_url": "https://pypi.org/project/bottle-redis/", "platform": "any", "project_url": "https://pypi.org/project/bottle-redis/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bottlepy/bottle-redis" }, "release_url": "https://pypi.org/project/bottle-redis/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Redis integration for Bottle.", "version": "0.2.3" }, "last_serial": 1577332, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6ef22da8aef3a2380e91d3ccd60f7e3e", "sha256": "4e1c38f20b681304d803ffb1d99974e73bc08f01d1d01f95cc3bbd439bf91ce5" }, "downloads": -1, "filename": "bottle-redis-0.1.tar.gz", "has_sig": false, "md5_digest": "6ef22da8aef3a2380e91d3ccd60f7e3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2092, "upload_time": "2012-02-20T08:20:23", "url": "https://files.pythonhosted.org/packages/5f/39/a97b85e4680c36a94cc55fea603edaed4d40ec817064a1eb8b508b9afdfe/bottle-redis-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7674ff23714e9f7f82848f723d850f0c", "sha256": "8825f8bdeadef2f6b22c9851b6830f8793a3665cf24120a769d1b58201a54d4e" }, "downloads": -1, "filename": "bottle-redis-0.2.tar.gz", "has_sig": true, "md5_digest": "7674ff23714e9f7f82848f723d850f0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2130, "upload_time": "2012-02-22T06:27:38", "url": "https://files.pythonhosted.org/packages/bc/b1/bf9cf12d207e12a497f7cdb73bc5ce2e82205abbc0e5301c542e86d3f600/bottle-redis-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "884fadac271f10fba90c2886e4682f4b", "sha256": "656fc3d42cec1e935d7aa40b314e714b9bfec1fa9044b0f1731bc8fcb6bb16f9" }, "downloads": -1, "filename": "bottle-redis-0.2.1.tar.gz", "has_sig": true, "md5_digest": "884fadac271f10fba90c2886e4682f4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2102, "upload_time": "2012-03-04T19:31:34", "url": "https://files.pythonhosted.org/packages/11/76/6c735a9345bc9c55de68e05f59d8ce3d76e3644cba547da3c1798ac77a15/bottle-redis-0.2.1.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "93519f9c13bf0c4cdd52a699e88ae0c5", "sha256": "2843af0f98107469857f9681e4dd330ce589de4da8b606e7a69db503d3821cce" }, "downloads": -1, "filename": "bottle-redis-0.2.3.tar.gz", "has_sig": false, "md5_digest": "93519f9c13bf0c4cdd52a699e88ae0c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2571, "upload_time": "2015-06-03T20:27:59", "url": "https://files.pythonhosted.org/packages/fd/9f/cbae6c4aa9b433d913f7188119e2d65cb9776a0970f789308b4f9c4b3ee3/bottle-redis-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93519f9c13bf0c4cdd52a699e88ae0c5", "sha256": "2843af0f98107469857f9681e4dd330ce589de4da8b606e7a69db503d3821cce" }, "downloads": -1, "filename": "bottle-redis-0.2.3.tar.gz", "has_sig": false, "md5_digest": "93519f9c13bf0c4cdd52a699e88ae0c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2571, "upload_time": "2015-06-03T20:27:59", "url": "https://files.pythonhosted.org/packages/fd/9f/cbae6c4aa9b433d913f7188119e2d65cb9776a0970f789308b4f9c4b3ee3/bottle-redis-0.2.3.tar.gz" } ] }