{ "info": { "author": "Donald Stufft", "author_email": "donald.stufft@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask Redistore\n===============\n\n.. image:: https://travis-ci.org/dstufft/Flask-Redistore.png\n :target: https://travis-ci.org/dstufft/Flask-Redistore\n\nAdds Redis to your Flask Appliation.\n\nInstall\n-------\n\n.. code:: bash\n\n $ pip install Flask-Redistore\n\nUsage\n-----\n\n.. code:: python\n\n import flask\n from flask.ext.redistore import Redistore\n\n app = flask.Flask(__name__)\n app.config[\"REDIS_URI\"] = \"redis://:password@localhost/0\"\n\n redis = Redistore(app)\n redis.set(\"My key\", \"the value!\")\n redis.get(\"My key\")\n\nUsage (advanced)\n----------------\n\n.. code:: python\n\n import flask\n import redis\n\n from flask.ext.redistore import Redistore\n\n redis = Redistore(redis_class=redis.StrictRedis)\n\n def create_app(name=__name__):\n app = flask.Flask(name)\n app.config[\"REDIS_URI\"] = \"redis://:password@localhost/0\"\n\n redis.init_app(app)\n\n return app\n\n create_app()\n\n redis.set(\"My new key\", \"Another Value!\")\n redis.get(\"My new key\")", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "Flask-Redistore", "package_url": "https://pypi.org/project/Flask-Redistore/", "platform": "any", "project_url": "https://pypi.org/project/Flask-Redistore/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/Flask-Redistore/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Adds Redis support to your Flask applications", "version": "1.0.1" }, "last_serial": 635136, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "136d4a9df8eced35bad779dc8cf0f2bf", "sha256": "1cf6d594162ab1fc2bf68f903d4faed53f16d9e82bbf484364a4a9d4d003569d" }, "downloads": -1, "filename": "Flask-Redistore-1.0.tar.gz", "has_sig": false, "md5_digest": "136d4a9df8eced35bad779dc8cf0f2bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2260, "upload_time": "2012-12-23T09:42:20", "url": "https://files.pythonhosted.org/packages/ab/a0/b014130ff4f6b7dfb30212473f28d591bd630410aa8bfe8532592bfa7c5b/Flask-Redistore-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5414569ca40c741bf5cf21f97fdf8922", "sha256": "9f4049c408e2cb92eab0949bbba26bfab270b3b04cf729598c1d4de2ff7cae1d" }, "downloads": -1, "filename": "Flask-Redistore-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5414569ca40c741bf5cf21f97fdf8922", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3387, "upload_time": "2012-12-23T09:54:44", "url": "https://files.pythonhosted.org/packages/6d/bb/8479a092a380bfb970a72b8c310785b8745d57e798801d5520a4264d931b/Flask-Redistore-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5414569ca40c741bf5cf21f97fdf8922", "sha256": "9f4049c408e2cb92eab0949bbba26bfab270b3b04cf729598c1d4de2ff7cae1d" }, "downloads": -1, "filename": "Flask-Redistore-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5414569ca40c741bf5cf21f97fdf8922", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3387, "upload_time": "2012-12-23T09:54:44", "url": "https://files.pythonhosted.org/packages/6d/bb/8479a092a380bfb970a72b8c310785b8745d57e798801d5520a4264d931b/Flask-Redistore-1.0.1.tar.gz" } ] }