{ "info": { "author": "shinshin86", "author_email": "beagles1986@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Bottle", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5" ], "description": "# Bottle-Flash2\n---------------\n\nflash plugin for bottle. (Bottle-Flash2 is a fork of\n`Bottle-Flash `__).\n\nExample\n=======\n\napp.py\n^^^^^^\n\n::\n\n from bottle import Bottle, post, jinja2_template as template\n from bottle_flash2 import FlashPlugin\n\n # Flash Setup\n app = Bottle()\n COOKIE_SECRET = 'super_secret_string'\n app.install(FlashPlugin(secret=COOKIE_SECRET))\n\n @post('/flash_sample_done')\n def flash_sample():\n app.flash(\"flash message is here\")\n \n # flash mesage is stored in list\n # Therefore, it is possible to store a multiple messages.\n app.flash(\"flash message 1\")\n app.flash(\"flash message 2\")\n \n return template('index.html', app = app)\n\nindex.html\n^^^^^^^^^^\n\n::\n\n {% set messages = app.get_flashed_messages() %}\n {% if messages %}\n
\n \n
\n {% endif %}\n\nBottle version (Test environment)\n=================================\n\n::\n\n version 0.12.9 or above later.\n\n Latest Version -> '0.13-dev'\n\nLicence\n=======\n\nMIT", "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/shinshin86/bottle-flash2", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle_flash2", "package_url": "https://pypi.org/project/bottle_flash2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bottle_flash2/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shinshin86/bottle-flash2" }, "release_url": "https://pypi.org/project/bottle_flash2/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "flash plugin for bottle", "version": "0.0.3" }, "last_serial": 2543942, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f4095450b34e69cc2e0f924505bcfe46", "sha256": "484e05cbe463d42d3dd2e2735b323e3c2f941570e7c408664b5734b65b04dcd8" }, "downloads": -1, "filename": "bottle_flash2-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f4095450b34e69cc2e0f924505bcfe46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2189, "upload_time": "2016-12-29T09:13:48", "url": "https://files.pythonhosted.org/packages/9a/35/4f29ef32e5fe0e794123a1fdb92d5bd21913c2c762a3401969a382d3afab/bottle_flash2-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6cfcbe3572cb2c7e6e80ac170201646f", "sha256": "94a785ce8eb6cf0fe0e89fccb9d4a4179600754466b44dd68f5371444f338648" }, "downloads": -1, "filename": "bottle_flash2-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6cfcbe3572cb2c7e6e80ac170201646f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2190, "upload_time": "2016-12-29T09:30:52", "url": "https://files.pythonhosted.org/packages/84/8f/5d05098ed5a37152535b901728b6e8eb142e38bbdecce14967fa2c85ae2b/bottle_flash2-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "42332198c5081d86f67996c553f78909", "sha256": "47bc139c44585508c5dfa630462c9fed53e24f4465656a44491b3a3cb39bc838" }, "downloads": -1, "filename": "bottle-flash2-0.0.3.tar.gz", "has_sig": false, "md5_digest": "42332198c5081d86f67996c553f78909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2193, "upload_time": "2016-12-29T09:52:37", "url": "https://files.pythonhosted.org/packages/9c/ab/f3651e938178458bc7281e50ddab16397ac52c460fe61fc6d256fbb179d6/bottle-flash2-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "42332198c5081d86f67996c553f78909", "sha256": "47bc139c44585508c5dfa630462c9fed53e24f4465656a44491b3a3cb39bc838" }, "downloads": -1, "filename": "bottle-flash2-0.0.3.tar.gz", "has_sig": false, "md5_digest": "42332198c5081d86f67996c553f78909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2193, "upload_time": "2016-12-29T09:52:37", "url": "https://files.pythonhosted.org/packages/9c/ab/f3651e938178458bc7281e50ddab16397ac52c460fe61fc6d256fbb179d6/bottle-flash2-0.0.3.tar.gz" } ] }