{ "info": { "author": "Chris Miles", "author_email": "miles.chris@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: TurboGears", "Framework :: TurboGears :: Widgets", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "TGPriFlash is a TurboGears flash implementation that supports multiple\npriority levels.\n\nInstall\n-------\n\nInstall with setuptools::\n\n $ easy_install TGPriFlash\n\nor download from http://pypi.python.org/pypi/TGPriFlash\n\nUsage\n-----\n\nOut of the box, 3 levels are defined (FLASH_INFO, FLASH_WARNING,\nFLASH_ALERT) but you can ignore these and use any integer values\nyou like as the flash priority levels.\n\nTo \"magically\" replace (aka monkey patch) turbogears.flash() with\nthis one, just add this import to your start-project.py::\n\n import tg_pri_flash.flash\n\nWithin your project you can import turbogears.flash as normal::\n\n from turbogears import flash\n\nYou'll want to replace the tg_flash line in your master template::\n\n
\n\nwith something like this::\n\n
\n
\n
\n\nYou would then define CSS definitions for each of the classes.\n\nIn your controller you can call flash() with a second argument, a positive integer::\n\n flash( _(u\"There was an error\"), 2 )\n\nor, using the built-in constants::\n\n from tg_pri_flash.flash import FLASH_ALERT\n flash( _(u\"There was an error\"), FLASH_ALERT )", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/TGPriFlash", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.psychofx.com/turbogears/TGPriFlash/", "keywords": "turbogears.widgets", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "TGPriFlash", "package_url": "https://pypi.org/project/TGPriFlash/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/TGPriFlash/", "project_urls": { "Download": "http://pypi.python.org/pypi/TGPriFlash", "Homepage": "http://www.psychofx.com/turbogears/TGPriFlash/" }, "release_url": "https://pypi.org/project/TGPriFlash/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "A TurboGears flash implementation that supports multiple priority levels.", "version": "0.1.2" }, "last_serial": 785765, "releases": { "0.1.1": [], "0.1.2": [ { "comment_text": "", "digests": { "md5": "37c6e0c2fb832e244972b1cf5bddd0a6", "sha256": "173e9d661081d00190e85b30be8b51f46b56fca3974bffa394d9992f4e6e9d0b" }, "downloads": -1, "filename": "TGPriFlash-0.1.2-py2.4.egg", "has_sig": false, "md5_digest": "37c6e0c2fb832e244972b1cf5bddd0a6", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 5632, "upload_time": "2008-08-01T05:40:49", "url": "https://files.pythonhosted.org/packages/1f/61/b0762a41fc6ffdba435b1a8f67398d28b544de454c54e3592b9018fd9542/TGPriFlash-0.1.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "30bfedfd08686599221e635fff88c055", "sha256": "d5e9d78b33763ad9377201763f4a9b4a0ea460044eb738c324a6b55bda676123" }, "downloads": -1, "filename": "TGPriFlash-0.1.2.tar.gz", "has_sig": false, "md5_digest": "30bfedfd08686599221e635fff88c055", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6703, "upload_time": "2008-08-01T05:40:59", "url": "https://files.pythonhosted.org/packages/17/dd/a34e5768ab3d6f703e00ef4e69690c0183b1aa8704ca35f2b76cd541ebed/TGPriFlash-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "37c6e0c2fb832e244972b1cf5bddd0a6", "sha256": "173e9d661081d00190e85b30be8b51f46b56fca3974bffa394d9992f4e6e9d0b" }, "downloads": -1, "filename": "TGPriFlash-0.1.2-py2.4.egg", "has_sig": false, "md5_digest": "37c6e0c2fb832e244972b1cf5bddd0a6", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 5632, "upload_time": "2008-08-01T05:40:49", "url": "https://files.pythonhosted.org/packages/1f/61/b0762a41fc6ffdba435b1a8f67398d28b544de454c54e3592b9018fd9542/TGPriFlash-0.1.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "30bfedfd08686599221e635fff88c055", "sha256": "d5e9d78b33763ad9377201763f4a9b4a0ea460044eb738c324a6b55bda676123" }, "downloads": -1, "filename": "TGPriFlash-0.1.2.tar.gz", "has_sig": false, "md5_digest": "30bfedfd08686599221e635fff88c055", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6703, "upload_time": "2008-08-01T05:40:59", "url": "https://files.pythonhosted.org/packages/17/dd/a34e5768ab3d6f703e00ef4e69690c0183b1aa8704ca35f2b76cd541ebed/TGPriFlash-0.1.2.tar.gz" } ] }