{ "info": { "author": "Oliver Cope", "author_email": "oliver@redgecko.org", "bugtrack_url": null, "classifiers": [], "description": "Flash messaging for fresco web applications\n===========================================\n\nfresco-flash provides a mechanism for displaying messages to end users in a web\napplication. Messages can be sent across requests: you can generate a message\nin a view that returns a redirect response and the message will display on\nthe next page loaded.\n\nExample usage::\n\n\n from fresco import FrescoApp\n from fresco_flash import FlashMiddleware, flash\n\n # Create a fresco app with the flash messaging middleware enabled\n app = FrescoApp()\n app.add_middleware(FlashMiddleware)\n\n # Create some flash messages to be shown to the user\n flash.info('Thanks for signing up!')\n flash.warn('Did you remember to feed the cat?')\n flash.error('Too many elephants: increase bun supply before proceeding.')\n\n # Display messages to the user\n \n
$item
\n
\n\n\nIncluding HTML in messages\n--------------------------\n\nMessages are automatically escaped for HTML using\nMarkupSafe_.\nIf you want to include unescaped HTML in flash messages, wrap them in\n`markupsafe.Markup` first::\n\n from markupsafe include Markup\n\n flash.info(Markup('Insert coin for new game'))\n\n.. _MarkupSafe: https://pypi.python.org/pypi/MarkupSafe\n\n\n0.1\n----\n\n* Initial release", "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": "Apache", "maintainer": null, "maintainer_email": null, "name": "fresco-flash", "package_url": "https://pypi.org/project/fresco-flash/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fresco-flash/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/fresco-flash/0.1/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.1" }, "last_serial": 1523298, "releases": { "0": [], "0.1": [ { "comment_text": "", "digests": { "md5": "5e46010d7cf4e4ddded5149df04f056f", "sha256": "6cb494d3667045060188a4826c449598367f252fafd006c13b39e46de034f54c" }, "downloads": -1, "filename": "fresco-flash-0.1.tar.gz", "has_sig": false, "md5_digest": "5e46010d7cf4e4ddded5149df04f056f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5089, "upload_time": "2015-04-27T18:29:04", "url": "https://files.pythonhosted.org/packages/27/b4/f644d30d605d2b365449604a2b2aede215d741a84c2716f081afe4b3ae41/fresco-flash-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e46010d7cf4e4ddded5149df04f056f", "sha256": "6cb494d3667045060188a4826c449598367f252fafd006c13b39e46de034f54c" }, "downloads": -1, "filename": "fresco-flash-0.1.tar.gz", "has_sig": false, "md5_digest": "5e46010d7cf4e4ddded5149df04f056f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5089, "upload_time": "2015-04-27T18:29:04", "url": "https://files.pythonhosted.org/packages/27/b4/f644d30d605d2b365449604a2b2aede215d741a84c2716f081afe4b3ae41/fresco-flash-0.1.tar.gz" } ] }